[llvm] r240010 - Update LLVM bindings after r239940. Apparently these aren't included in
Sean Silva
chisophugis at gmail.com
Thu Jun 18 17:15:24 PDT 2015
On Thu, Jun 18, 2015 at 4:51 AM, Daniel Jasper <djasper at google.com> wrote:
> Author: djasper
> Date: Thu Jun 18 06:51:16 2015
> New Revision: 240010
>
> URL: http://llvm.org/viewvc/llvm-project?rev=240010&view=rev
> Log:
> Update LLVM bindings after r239940. Apparently these aren't included in
> any tests and I even don't know how to run the tests. This seems like a
> minimal change to make them work again, although I can't really verify
> at this point. Additionally, it probably makes sense to propagate the
> personality parameter removal further.
>
> Modified:
> llvm/trunk/bindings/go/llvm/ir.go
> llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
> llvm/trunk/include/llvm-c/Core.h
>
> Modified: llvm/trunk/bindings/go/llvm/ir.go
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/ir.go?rev=240010&r1=240009&r2=240010&view=diff
>
> ==============================================================================
> --- llvm/trunk/bindings/go/llvm/ir.go (original)
> +++ llvm/trunk/bindings/go/llvm/ir.go Thu Jun 18 06:51:16 2015
> @@ -1728,7 +1728,7 @@ func (b Builder) CreatePtrDiff(lhs, rhs
> func (b Builder) CreateLandingPad(t Type, personality Value, nclauses
> int, name string) (l Value) {
> cname := C.CString(name)
> defer C.free(unsafe.Pointer(cname))
> - l.C = C.LLVMBuildLandingPad(b.C, t.C, personality.C,
> C.unsigned(nclauses), cname)
> + l.C = C.LLVMBuildLandingPad(b.C, t.C, C.unsigned(nclauses), cname)
> return l
> }
>
>
> Modified: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c?rev=240010&r1=240009&r2=240010&view=diff
>
> ==============================================================================
> --- llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c (original)
> +++ llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c Thu Jun 18 06:51:16 2015
> @@ -1745,7 +1745,7 @@ CAMLprim LLVMValueRef llvm_build_invoke_
> CAMLprim LLVMValueRef llvm_build_landingpad(LLVMTypeRef Ty, LLVMValueRef
> PersFn,
> value NumClauses, value Name,
> value B) {
> - return LLVMBuildLandingPad(Builder_val(B), Ty, PersFn,
> Int_val(NumClauses),
> + return LLVMBuildLandingPad(Builder_val(B), Ty, Int_val(NumClauses),
> String_val(Name));
> }
>
>
> Modified: llvm/trunk/include/llvm-c/Core.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=240010&r1=240009&r2=240010&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm-c/Core.h (original)
> +++ llvm/trunk/include/llvm-c/Core.h Thu Jun 18 06:51:16 2015
> @@ -2661,8 +2661,7 @@ LLVMValueRef LLVMBuildInvoke(LLVMBuilder
> LLVMBasicBlockRef Then, LLVMBasicBlockRef
> Catch,
> const char *Name);
> LLVMValueRef LLVMBuildLandingPad(LLVMBuilderRef B, LLVMTypeRef Ty,
> - LLVMValueRef PersFn, unsigned NumClauses,
> - const char *Name);
> + unsigned NumClauses, const char *Name);
>
This is ABI incompatible. Please revert.
-- Sean Silva
> LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn);
> LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef);
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150618/e4105470/attachment.html>
More information about the llvm-commits
mailing list