mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Change ForceSizeOpt attribute into MinSize attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,8 +201,8 @@ std::string Attributes::getAsString() const {
|
||||
Result += "nonlazybind ";
|
||||
if (hasAttribute(Attributes::AddressSafety))
|
||||
Result += "address_safety ";
|
||||
if (hasAttribute(Attributes::ForceSizeOpt))
|
||||
Result += "forcesizeopt ";
|
||||
if (hasAttribute(Attributes::MinSize))
|
||||
Result += "minsize ";
|
||||
if (hasAttribute(Attributes::StackAlignment)) {
|
||||
Result += "alignstack(";
|
||||
Result += utostr(getStackAlignment());
|
||||
@@ -326,7 +326,7 @@ uint64_t AttributesImpl::getAttrMask(uint64_t Val) {
|
||||
case Attributes::UWTable: return 1 << 30;
|
||||
case Attributes::NonLazyBind: return 1U << 31;
|
||||
case Attributes::AddressSafety: return 1ULL << 32;
|
||||
case Attributes::ForceSizeOpt: return 1ULL << 33;
|
||||
case Attributes::MinSize: return 1ULL << 33;
|
||||
}
|
||||
llvm_unreachable("Unsupported attribute type");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user