mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 15:31:18 +00:00
[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
This commit is contained in:
1 parent
6231a7e4d1
commit
58fbc916a0
4 files changed
+16
-13
No files matched your search
@@ -838,9 +838,9 @@ static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags,
|
||||
// to getDecodedLinkage() will need to be taken into account here as above.
|
||||
auto Linkage = GlobalValue::LinkageTypes(RawFlags & 0xF); // 4 bits
|
||||
RawFlags = RawFlags >> 4;
|
||||
bool HasSection = RawFlags & 0x1;
|
||||
bool NoRename = RawFlags & 0x1;
|
||||
bool IsNotViableToInline = RawFlags & 0x2;
|
||||
return GlobalValueSummary::GVFlags(Linkage, HasSection, IsNotViableToInline);
|
||||
return GlobalValueSummary::GVFlags(Linkage, NoRename, IsNotViableToInline);
|
||||
}
|
||||
|
||||
static GlobalValue::VisibilityTypes getDecodedVisibility(unsigned Val) {
|
||||
|
||||
Reference in new issue
Block a user