http://llvm.org/bugs/show_bug.cgi?id=2492

           Summary: Unresolved symbol in ocaml bindings
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Created an attachment (id=1774)
 --> (http://llvm.org/bugs/attachment.cgi?id=1774)
Add has_initializer to ocaml binding

While trying to link an ocaml program with llvm I encountered a problem with an
unresolved symbol "llvm_has_initializer". It turns out that indeed this symbol
is not defined anywhere.

This code exists in llvm.mli:

external has_initializer : llvalue -> bool = "llvm_has_initializer"

And the correspinding binding in llvm.ml, but the initializer is nowhere to be
found in C++ code.

I believe the missing glue code is something like the one included in the
attached patch. I am not very familiar with LLVM internals, so this might not
be the correct call.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to