[llvm-commits] [llvm] r138022 - in /llvm/trunk: include/llvm-c/Core.h lib/Analysis/Analysis.cpp lib/Transforms/IPO/IPO.cpp

Bill Wendling wendling at apple.com
Thu Aug 18 18:44:10 PDT 2011


n Aug 18, 2011, at 6:36 PM, Benjamin Kramer wrote:

> Author: d0k
> Date: Thu Aug 18 20:36:54 2011
> New Revision: 138022
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=138022&view=rev
> Log:
> C API functions must be able to see their extern "C" definitions, or it will be impossible to call them from C.
> 
> Modified:
>    llvm/trunk/include/llvm-c/Core.h
>    llvm/trunk/lib/Analysis/Analysis.cpp
>    llvm/trunk/lib/Transforms/IPO/IPO.cpp
> 
> Modified: llvm/trunk/include/llvm-c/Core.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=138022&r1=138021&r2=138022&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm-c/Core.h (original)
> +++ llvm/trunk/include/llvm-c/Core.h Thu Aug 18 20:36:54 2011
> @@ -834,6 +834,9 @@
>                              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);
> 
I don't know how I missed this...>.>

Thanks!
-bw




More information about the llvm-commits mailing list