mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-19 01:01:31 -07:00
Update to LLVM-17
This commit is contained in:
@@ -61,8 +61,13 @@ LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef,
|
||||
LLVMMemoryBufferRef MemBuf,
|
||||
LLVMModuleRef *OutM, char **OutMessage);
|
||||
|
||||
/** Reads a module from the specified path, returning via the OutMP parameter a
|
||||
* module provider which performs lazy deserialization. Returns 0 on success. */
|
||||
/** Reads a module from the given memory buffer, returning via the OutMP
|
||||
* parameter a module provider which performs lazy deserialization.
|
||||
*
|
||||
* Returns 0 on success.
|
||||
*
|
||||
* Takes ownership of \p MemBuf if (and only if) the module was read
|
||||
* successfully. */
|
||||
LLVMBool LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef,
|
||||
LLVMMemoryBufferRef MemBuf,
|
||||
LLVMModuleRef *OutM);
|
||||
|
||||
Reference in New Issue
Block a user