Update of the gold-plugin.cpp code to match Chandler's changes (r226981)
authorSylvestre Ledru <sylvestre@debian.org>
Sat, 24 Jan 2015 13:59:08 +0000 (13:59 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 24 Jan 2015 13:59:08 +0000 (13:59 +0000)
llvm-svn: 227004

llvm/tools/gold/gold-plugin.cpp

index 4b3b578..b80ad42 100644 (file)
@@ -699,7 +699,7 @@ getModuleForFile(LLVMContext &Context, claimed_file &F, raw_fd_ostream *ApiFile,
 static void runLTOPasses(Module &M, TargetMachine &TM) {
   PassManager passes;
   PassManagerBuilder PMB;
-  PMB.LibraryInfo = new TargetLibraryInfo(Triple(TM.getTargetTriple()));
+  PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM.getTargetTriple()));
   PMB.Inliner = createFunctionInliningPass();
   PMB.VerifyInput = true;
   PMB.VerifyOutput = true;