LLVM API Documentation
#include "TGParser.h"#include "llvm/ADT/OwningPtr.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/ToolOutputFile.h"#include "llvm/Support/system_error.h"#include "llvm/TableGen/Error.h"#include "llvm/TableGen/Main.h"#include "llvm/TableGen/Record.h"#include <algorithm>#include <cstdio>
Go to the source code of this file.
Namespaces | |
| 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. More... | |
| int | llvm::TableGenMain (char *argv0, TableGenMainFn *MainFn) |
|
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::lltok::Error, llvm::errs(), llvm::TGParser::getDependencies(), and I.
Referenced by llvm::TableGenMain().