[PATCH] D16188: LLVMRunStaticConstructors can be called before object is finalized, #24028
David Herberth via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 16 03:30:23 PST 2016
Dav1d added a comment.
Hey,
I have not heard of the 'ORC' before. ORC in general appears to be a bunch of classes helping you build a JIT.
There seems to be a OrcMCJITReplacement but there is also a OrcCBindingsStack which seems to be used for the C bindings.
Is OrcMCJITReplacement a EE based on the old concept (so there could be a LLVMCreateOrcMCJITCompilerForModule)? And OrcCBindingsStack is the new 'stuff'? WIll this be a new common interface for all ORC based JITs (similiar to the EE)?
But aside all these implementation details, I would really like an extremely simple C interface, every C++ Function/Method gets en equivalent in C, no magic involved (implicitly calling finalizeObject), no utility. In my opinion the C interface should just be there as a (complete) interface for other languages, these languages can then try to abstract the C interface again.
Repository:
rL LLVM
http://reviews.llvm.org/D16188
More information about the llvm-commits
mailing list