aboutsummaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-08-19 01:36:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-08-19 01:36:54 +0000
commit613d13beb03bb56a17e6b3262c5e8e539a7e9db8 (patch)
tree5cbbeffe0b237ce04bba605392c8269890e99e05 /include/llvm-c
parent201f2463a72f88121a3a31e7386029e99d2d75da (diff)
C API functions must be able to see their extern "C" definitions, or it will be impossible to call them from C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 2562757a2e..582d769f45 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -834,6 +834,9 @@ LLVMValueRef LLVMBuildInvoke(LLVMBuilderRef, LLVMValueRef Fn,
LLVMValueRef *Args, unsigned NumArgs,
LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch,
const char *Name);
+LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty,
+ LLVMValueRef PersFn, unsigned NumClauses,
+ const char *Name);
LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn);
LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef);