[llvm] [llvm-c] Expose debug object registration in Orc C-API bindings (PR #73257)

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 23 10:42:50 PST 2023


================
@@ -863,6 +866,31 @@ void LLVMOrcObjectLayerEmit(LLVMOrcObjectLayerRef ObjLayer,
       std::unique_ptr<MemoryBuffer>(unwrap(ObjBuffer)));
 }
 
+LLVMErrorRef
+LLVMOrcObjectLayerRegisterPluginJITLoaderGDB(LLVMOrcObjectLayerRef ObjLayer,
+                                             LLVMBool RequireDebugSectionsFlag,
+                                             LLVMBool AutoRegisterCodeFlag) {
----------------
weliveindetail wrote:

I guess these are the relevant flags for users. I didn't include the `RegistrationFunctionDylib` option for the executor side, because I don't have a use-case and I am not sure the required functionality for it is exposed either.

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


More information about the llvm-commits mailing list