From 450f97dcb92ec5f1fa163f37206b8793a3158b2c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 24 Jan 2015 13:59:08 +0000 Subject: [PATCH] Update of the gold-plugin.cpp code to match Chandler's changes (r226981) llvm-svn: 227004 --- llvm/tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 4b3b578..b80ad42 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -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; -- 2.7.4