aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 00:12:35 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 00:12:35 +0000
commit143d46476cdcf5b88b9ee18ebd799e5820a2db0e (patch)
tree8b99f1da4df8777771cf9355beeefc3660950465 /lib/AsmParser/LLLexer.cpp
parenta931a12e04b856421977c86d94789cd8b47d6ad3 (diff)
downloadexternal_llvm-143d46476cdcf5b88b9ee18ebd799e5820a2db0e.zip
external_llvm-143d46476cdcf5b88b9ee18ebd799e5820a2db0e.tar.gz
external_llvm-143d46476cdcf5b88b9ee18ebd799e5820a2db0e.tar.bz2
Implement the NoBuiltin attribute.
The 'nobuiltin' attribute is applied to call sites to indicate that LLVM should not treat the callee function as a built-in function. I.e., it shouldn't try to replace that function with different code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r--lib/AsmParser/LLLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index 35108af..2b14559 100644
--- a/lib/AsmParser/LLLexer.cpp
+++ b/lib/AsmParser/LLLexer.cpp
@@ -571,6 +571,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(naked);
KEYWORD(nest);
KEYWORD(noalias);
+ KEYWORD(nobuiltin);
KEYWORD(nocapture);
KEYWORD(noduplicate);
KEYWORD(noimplicitfloat);