[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:
@@ -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