aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:00:44 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:00:44 +0000
commitae2ffc8a8c825acf46f58f20dc7d0ae5fecbdd0b (patch)
treebba694cd7ab6a7a5eb4aca757ebfc3b38b1e949d /llvm/lib/AsmParser/LLLexer.cpp
parent83505347724a3eeb42f66a0b58fb8ff5c4c9ea4c (diff)
downloadllvm-ae2ffc8a8c825acf46f58f20dc7d0ae5fecbdd0b.zip
llvm-ae2ffc8a8c825acf46f58f20dc7d0ae5fecbdd0b.tar.gz
llvm-ae2ffc8a8c825acf46f58f20dc7d0ae5fecbdd0b.tar.bz2
New EH representation for MSVC compatibility
Summary: This introduces new instructions neccessary to implement MSVC-compatible exception handling support. Most of the middle-end and none of the back-end haven't been audited or updated to take them into account. Reviewers: rnk, JosephTremoulet, reames, nlewycky, rjmccall Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11041 llvm-svn: 241888
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index 88f359d..69c2048aa 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -524,6 +524,7 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(undef);
KEYWORD(null);
KEYWORD(to);
+ KEYWORD(caller);
KEYWORD(tail);
KEYWORD(musttail);
KEYWORD(target);
@@ -748,6 +749,12 @@ lltok::Kind LLLexer::LexIdentifier() {
INSTKEYWORD(extractvalue, ExtractValue);
INSTKEYWORD(insertvalue, InsertValue);
INSTKEYWORD(landingpad, LandingPad);
+ INSTKEYWORD(cleanupret, CleanupRet);
+ INSTKEYWORD(catchret, CatchRet);
+ INSTKEYWORD(catchblock, CatchBlock);
+ INSTKEYWORD(terminateblock, TerminateBlock);
+ INSTKEYWORD(cleanupblock, CleanupBlock);
+ INSTKEYWORD(catchendblock, CatchEndBlock);
#undef INSTKEYWORD
#define DWKEYWORD(TYPE, TOKEN) \