diff options
author | Quentin Colombet <qcolombet@apple.com> | 2012-10-30 16:32:52 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2012-10-30 16:32:52 +0000 |
commit | 9a419f656e278b96e9dfe739cd63c7bff9a4e1fd (patch) | |
tree | 1a0b0791da616cf4941091deb4d7e941fe162b7e /lib/VMCore | |
parent | 446cf94cdbbc1f8e22452fc46664ac73d810c6a2 (diff) | |
download | llvm-9a419f656e278b96e9dfe739cd63c7bff9a4e1fd.tar.gz llvm-9a419f656e278b96e9dfe739cd63c7bff9a4e1fd.tar.bz2 llvm-9a419f656e278b96e9dfe739cd63c7bff9a4e1fd.tar.xz |
Change ForceSizeOpt attribute into MinSize attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Attributes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index 642d4fcffb..5a552c34e1 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/VMCore/Attributes.cpp @@ -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"); } |