LLVM API Documentation
#include "TGParser.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Main.h"
#include "llvm/TableGen/Record.h"
#include <algorithm>
#include <cstdio>
#include <system_error>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Functions | |
static int | createDependencyFile (const TGParser &Parser, const char *argv0) |
Create a dependency file for `-d` option. | |
int | llvm::TableGenMain (char *argv0, TableGenMainFn *MainFn) |
static int createDependencyFile | ( | const TGParser & | Parser, |
const char * | argv0 | ||
) | [static] |
Create a dependency file for `-d` option.
This functionality is really only for the benefit of the build system. It is similar to GCC's `-M*` family of options.
Definition at line 54 of file Main.cpp.
References llvm::errs(), llvm::sys::fs::F_Text, llvm::TGParser::getDependencies(), I, llvm::tool_output_file::keep(), and llvm::tool_output_file::os().
Referenced by llvm::TableGenMain().