OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc9cf99
)
Fix the bug introduced in r282616.
author
Dehao Chen
<dehao@google.com>
Wed, 28 Sep 2016 18:54:36 +0000
(18:54 +0000)
committer
Dehao Chen
<dehao@google.com>
Wed, 28 Sep 2016 18:54:36 +0000
(18:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282618
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/LTO/ThinLTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/lib/LTO/ThinLTOCodeGenerator.cpp
b/lib/LTO/ThinLTOCodeGenerator.cpp
index
f4232dc
..
49b73e1
100644
(file)
--- a/
lib/LTO/ThinLTOCodeGenerator.cpp
+++ b/
lib/LTO/ThinLTOCodeGenerator.cpp
@@
-378,7
+378,7
@@
ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index,
SmallVector<char, 128> OutputBuffer;
{
raw_svector_ostream OS(OutputBuffer);
- ProfileSummaryInfo PSI(TheModule);
+ ProfileSummaryInfo PSI(
&
TheModule);
auto Index = buildModuleSummaryIndex(TheModule, nullptr, nullptr);
WriteBitcodeToFile(&TheModule, OS, true, &Index);
}