[LLVMbugs] [Bug 2492] New: Unresolved symbol in ocaml bindings
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jun 25 07:26:54 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: amanous at softlab.ntua.gr
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list