summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-10-28 02:24:59 +0000
committerTeresa Johnson <tejohnson@google.com>2016-10-28 02:24:59 +0000
commit58fbc916a0a4ad57ec6d3dd1d1a4f0dd7405f69f (patch)
tree6c24d54562b0745abfad0d5afd9c1ce6d18baa96 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent6231a7e4d1e2e004c4a0889353b4155130ec47d8 (diff)
downloadbcm5719-llvm-58fbc916a0a4ad57ec6d3dd1d1a4f0dd7405f69f.tar.gz
bcm5719-llvm-58fbc916a0a4ad57ec6d3dd1d1a4f0dd7405f69f.zip
[ThinLTO] Rename HasSection to NoRename (NFC)
Summary: This is in preparation for a change to utilize this flag for symbols referenced/defined in either inline or module level assembly. Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26048 llvm-svn: 285376
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 6bd1bf1b8cc..2972688992f 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -990,7 +990,7 @@ static unsigned getEncodedLinkage(const GlobalValue &GV) {
static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) {
uint64_t RawFlags = 0;
- RawFlags |= Flags.HasSection; // bool
+ RawFlags |= Flags.NoRename; // bool
RawFlags |= (Flags.IsNotViableToInline << 1);
// 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
OpenPOWER on IntegriCloud