[llvm] [llvm-c] Add LLVMParseIRInContext2 (PR #174085)

Arthur Bretas via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 3 09:04:50 PST 2026


BretasArthur1 wrote:

> > Do I understand correctly that this _changes_ the meaning of parse_ir API in the OCaml bindings? That is, code that previously correctly used this API will now silently leak memory instead?
> 
> 
> 
> Yes, I believe that's correct. If you'd prefer I introduce `parse_ir2` to mirror the C-API change, I'm happy to do that.


Probably the best to do thinking abt backward compatibility, no?

https://github.com/llvm/llvm-project/pull/174085


More information about the llvm-commits mailing list