summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit09bd1f71eeb2558f4e4516740328b9d5e9177500 (patch)
treedc6e3390cbedfe24b142aa0c0a510b66d268eb8e /llvm/lib/AsmParser/LLLexer.cpp
parent5000f2dafffb665ff11303f1541cb191a9a4e460 (diff)
downloadbcm5719-llvm-09bd1f71eeb2558f4e4516740328b9d5e9177500.tar.gz
bcm5719-llvm-09bd1f71eeb2558f4e4516740328b9d5e9177500.zip
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. llvm-svn: 175835
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index 35108af24a0..2b14559f3e5 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud