Use LLVM Machine Code (MC) to emit object files. Finilize debug info

This commit is contained in:
Alexey Prokhin
2011-10-24 12:16:56 +04:00
parent aee896f85b
commit b97b32759e
4 changed files with 39 additions and 84 deletions

View File

@@ -438,9 +438,9 @@ int main(int argc, char** argv)
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllTargetMCs();
const llvm::Target *theTarget = NULL;
// Check whether the user has explicitly specified an architecture to compile for.
if (mArch.empty())