aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-17 18:07:26 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-17 18:07:26 +0000
commitc5ec8a78ea898087ad361e5b755f74a76150e5fd (patch)
tree0501e2931c39d02da499777594d2849184c508a2 /lib/AsmParser/LLParser.cpp
parenta9af7e626cec5b0b78cbb8f458be3c671b1f0750 (diff)
Add support for naked functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r--lib/AsmParser/LLParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 080575df84..6a6478f37b 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -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;