summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2017-11-04 01:54:20 +0000
committerSean Fertile <sfertile@ca.ibm.com>2017-11-04 01:54:20 +0000
commit39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d (patch)
tree5e73a5c00a4ff53e5f2e538df9b350bbeca17d6a /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent73cf9241049f0444d62b4cc9c4648cc7ae4bfd3d (diff)
downloadbcm5719-llvm-39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d.tar.gz
bcm5719-llvm-39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d.zip
Revert "[LTO][ThinLTO] Use the linker resolutions to mark global values ..."
Changes more tests then expected on one of the build bots. reverting to investigate. This reverts https://llvm.org/svn/llvm-project/llvm/trunk@317374 llvm-svn: 317395
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index c5d376c9426..1e491aa066e 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -955,8 +955,6 @@ static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) {
RawFlags |= Flags.NotEligibleToImport; // bool
RawFlags |= (Flags.Live << 1);
- RawFlags |= (Flags.DSOLocal << 2);
-
// Linkage don't need to be remapped at that time for the summary. Any future
// change to the getEncodedLinkage() function will need to be taken into
// account here as well.
OpenPOWER on IntegriCloud