[llvm-commits] fixing the OCaml bindings for 3.0

Török Edwin edwintorok at gmail.com
Sun Oct 2 09:08:53 PDT 2011


On 10/01/2011 03:14 PM, Török Edwin wrote:
> Hi,
> 
> I noticed that currently the OCaml bindings don't pass the testsuite.
> First problem is due to exception handling changes: invoke must point to a basic block with a landingpad,
> otherwise verifier rejects it.
> 
> Attach patch tries to address that by exposing LLVMBuildLandingPad, and calling it: the verifier passes now.
> There are still many grep failures left though, I'll probably go through these in the next days and try to figure what is wrong.
> 
> Some help would be appreciated, there are currently 158 grep failures (even after applying this patch), see log.gz.

Looks like I misinterpreted the output from lit: it shows all greps regardless if they failed or not.
There was really only one failure, attached patch makes all Bindings/Ocaml tests pass!

OK to commit?

Best regards,
--Edwin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-attempt-to-fix-ocaml-bindings-landing-pads.patch
Type: text/x-patch
Size: 5137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111002/eb5cd4e3/attachment.bin>


More information about the llvm-commits mailing list