mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Add support for naked functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,7 +40,7 @@ std::string Attribute::getAsString(Attributes Attrs) {
|
||||
if (Attrs & Attribute::NoCapture)
|
||||
Result += "nocapture ";
|
||||
if (Attrs & Attribute::StructRet)
|
||||
Result += "sret ";
|
||||
Result += "sret ";
|
||||
if (Attrs & Attribute::ByVal)
|
||||
Result += "byval ";
|
||||
if (Attrs & Attribute::Nest)
|
||||
@@ -63,6 +63,8 @@ std::string Attribute::getAsString(Attributes Attrs) {
|
||||
Result += "noredzone ";
|
||||
if (Attrs & Attribute::NoImplicitFloat)
|
||||
Result += "noimplicitfloat ";
|
||||
if (Attrs & Attribute::Naked)
|
||||
Result += "naked ";
|
||||
if (Attrs & Attribute::Alignment) {
|
||||
Result += "align ";
|
||||
Result += utostr(Attribute::getAlignmentFromAttrs(Attrs));
|
||||
|
||||
Reference in New Issue
Block a user