Fix build with llvm top-of-tree
This commit is contained in:
@@ -899,8 +899,7 @@ bool
|
||||
Module::writeObjectFileOrAssembly(OutputType outputType, const char *outFileName) {
|
||||
llvm::InitializeAllTargets();
|
||||
#if defined(LLVM_3_0) || defined(LLVM_3_0svn)
|
||||
llvm::InitializeAllMCAsmInfos();
|
||||
llvm::InitializeAllMCSubtargetInfos();
|
||||
llvm::InitializeAllTargetMCs();
|
||||
#endif
|
||||
llvm::InitializeAllAsmPrinters();
|
||||
llvm::InitializeAllAsmParsers();
|
||||
|
||||
Reference in New Issue
Block a user