projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f945a40
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227004
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/gold/gold-plugin.cpp
patch
|
blob
|
history
diff --git
a/tools/gold/gold-plugin.cpp
b/tools/gold/gold-plugin.cpp
index 4b3b578301d2c88557428b4f6b6991df4141a295..b80ad421f7e17d55f50ff87948a29dea69503f0c 100644
(file)
--- a/
tools/gold/gold-plugin.cpp
+++ b/
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;