summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-24 05:30:29 +0000
committerChris Lattner <sabre@nondot.org>2003-08-24 05:30:29 +0000
commit9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e (patch)
tree3674bf59823b463b0cf6de56019f7aae7e55bb12 /include
parent6a67393e19632a9829c7ba0d3e7446db322612d9 (diff)
downloadllvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.tar.gz
llvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.tar.bz2
llvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.tar.xz
Initial support for recognizing LLVM exception handling intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Intrinsics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h
index 81c25b8102..5c14362918 100644
--- a/include/llvm/Intrinsics.h
+++ b/include/llvm/Intrinsics.h
@@ -17,10 +17,17 @@ namespace LLVMIntrinsic {
enum ID {
not_intrinsic = 0, // Must be zero
+ // Varargs handling intrinsics...
va_start, // Used to represent a va_start call in C
va_end, // Used to represent a va_end call in C
va_copy, // Used to represent a va_copy call in C
+ // Exception handling intrinsics...
+ exc_throw, // Throw an exception
+ exc_rethrow, // Rethrow a caught exception
+ exc_getcurrent, // Get the current pending exception
+
+ // Setjmp/Longjmp intrinsics...
setjmp, // Used to represent a setjmp call in C
longjmp, // Used to represent a longjmp call in C
sigsetjmp, // Used to represent a sigsetjmp call in C