LLVM API Documentation

Main.cpp File Reference

#include "llvm/CompilerDriver/BuiltinOptions.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/CompilerDriver/Error.h"
#include "llvm/CompilerDriver/Plugin.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/System/Path.h"
#include <stdexcept>
#include <string>

Include dependency graph for Main.cpp:

Go to the source code of this file.

Namespaces

namespace  llvmc

Functions

sys::Path getTempDir ()
int BuildTargets (CompilationGraph &graph, const LanguageMap &langMap)
 BuildTargets - A small wrapper for CompilationGraph::Build.
int llvmc::Main (int argc, char **argv)

Variables

const char * llvmc::ProgramName


Function Documentation

int @703::BuildTargets ( CompilationGraph &  graph,
const LanguageMap &  langMap 
) [static]

BuildTargets - A small wrapper for CompilationGraph::Build.

Definition at line 62 of file Main.cpp.

References llvmc::CompilationGraph::Build(), llvm::sys::Path::eraseFromDisk(), getTempDir(), SaveTemps, and SaveTempsEnum::Unset.

Referenced by llvmc::Main().

sys::Path @703::getTempDir (  )  [static]