Displaying 1 result from an estimated 1 matches for "llvmcreateobjectfile".
2012 Feb 07
0
[LLVMdev] Create ObjectFile with C bindings
Hey!
I've been studying the LLVM C bindings (include/llvm-c/) and it 's not
very clear to me how I could create an ELF object file with them.
Function "LLVMCreateObjectFile" (in Object.h) needs an
"LLVMMemoryBufferRef" object but I'm not sure how I should create one
using the created "LLVMModuleRef".
The reason why I want to use the C bindings and not the C++ interface
is because I use them through some Erlang NIFs [1]. I apologize if...