search for: llvmcreatememorybufferwitharray

Displaying 1 result from an estimated 1 matches for "llvmcreatememorybufferwitharray".

2012 Dec 14
1
[LLVMdev] MemoryBuffer C Bindings - LLVMCreateMemoryBufferWithArray
...ith an OO-design in another language (D), e.g. map from the C API back up to a D API that closely resembles the original C++ API. Since I would like to have D (with its own exception system) to handle the IO, I need a new C API function (unless there is one and I haven't found it): LLVMBool LLVMCreateMemoryBufferWithArray(const char* Array, char** OutMessage) As the name suggests, create a MemoryBuffer for use with LLVMParseBitcode so that one can parse bitcode already present in memory (e.g. use D's capibilities for loading files with its own exception system present, so it doesn't have to be delegated...