projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9225b
)
Update of the gold-plugin.cpp code to match Chandler's changes (r226981)
author
Sylvestre Ledru
<sylvestre@debian.org>
Sat, 24 Jan 2015 13:59:08 +0000
(13:59 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Sat, 24 Jan 2015 13:59:08 +0000
(13:59 +0000)
llvm-svn: 227004
llvm/tools/gold/gold-plugin.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/gold/gold-plugin.cpp
b/llvm/tools/gold/gold-plugin.cpp
index
4b3b578
..
b80ad42
100644
(file)
--- 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 TargetLibraryInfo
Impl
(Triple(TM.getTargetTriple()));
PMB.Inliner = createFunctionInliningPass();
PMB.VerifyInput = true;
PMB.VerifyOutput = true;