summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-11-16 07:08:00 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-11-16 07:08:00 +0000
commitbf46e7410c8a1d26c4a434261baaae28a904d657 (patch)
treea8037e2560e4fd3aee808885ae87901c8e857afa /llvm/lib/AsmParser/LLParser.cpp
parent079c37da5870239d0332870e6c8cea877b335600 (diff)
downloadbcm5719-llvm-bf46e7410c8a1d26c4a434261baaae28a904d657.tar.gz
bcm5719-llvm-bf46e7410c8a1d26c4a434261baaae28a904d657.zip
[ThinLTO] Internalize readonly globals
An attempt to recommit r346584 after failure on OSX build bot. Fixed cache key computation in ThinLTOCodeGenerator and added test case llvm-svn: 347033
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index c9ffbc04eb9..eab832c2dc1 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -7715,7 +7715,8 @@ bool LLParser::ParseVariableSummary(std::string Name, GlobalValue::GUID GUID,
if (ParseToken(lltok::rparen, "expected ')' here"))
return true;
- auto GS = llvm::make_unique<GlobalVarSummary>(GVFlags, std::move(Refs));
+ auto GS = llvm::make_unique<GlobalVarSummary>(
+ GVFlags, GlobalVarSummary::GVarFlags(), std::move(Refs));
GS->setModulePath(ModulePath);
OpenPOWER on IntegriCloud