Displaying 1 result from an estimated 1 matches for "1eaa9d2d".
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
>
>
> module_path = LLVMCreateMemoryBufferWithMemoryRange(path,
> strlen(path), "path", 1);
>
LLVMCreateMemoryBufferWithContentsOfFile takes a path.
Erm...no...the code is calling LLVMCreateMemoryBufferWithMemoryRange, not
LLVMCreateMemoryBufferWithContentsOfFile...
Or do you mean I need to load the module into memory before calling