diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-24 05:30:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-24 05:30:29 +0000 |
commit | 9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e (patch) | |
tree | 3674bf59823b463b0cf6de56019f7aae7e55bb12 /include/llvm | |
parent | 6a67393e19632a9829c7ba0d3e7446db322612d9 (diff) | |
download | external_llvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.zip external_llvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.tar.gz external_llvm-9dd7d1c8eb9ade8426545129eb2e3e41b824eb8e.tar.bz2 |
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/llvm')
-rw-r--r-- | include/llvm/Intrinsics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h index 81c25b8..5c14362 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 |