mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -775,6 +775,7 @@ bool LLParser::ParseOptionalAttrs(unsigned &Attrs, unsigned AttrKind) {
|
||||
case lltok::kw_sspreq: Attrs |= Attribute::StackProtectReq; break;
|
||||
case lltok::kw_noredzone: Attrs |= Attribute::NoRedZone; break;
|
||||
case lltok::kw_noimplicitfloat: Attrs |= Attribute::NoImplicitFloat; break;
|
||||
case lltok::kw_naked: Attrs |= Attribute::Naked; break;
|
||||
|
||||
case lltok::kw_align: {
|
||||
unsigned Alignment;
|
||||
|
Reference in New Issue
Block a user