You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is due to our compile/link flag or GDB/LLVM bug. (Probably should test on a version of lldb that support jit code registration but somehow my lldb is behaving strangely right now).
Of course an acceptable solution is to make native code debugging in Gallium with and without rr as good as gdb/lldb and also easily installable so that we can remove this interface altogether.
The text was updated successfully, but these errors were encountered:
diff --git a/src/jitlayers.cpp b/src/jitlayers.cpp
index ef8855e..ce62590 100644
--- a/src/jitlayers.cpp+++ b/src/jitlayers.cpp@@ -269,9 +269,11 @@ extern "C" {
// We put information about the JITed function in this global, which the
// debugger reads. Make sure to specify the version statically, because the
// debugger checks the version before we can set it during runtime.
- extern struct jit_descriptor __jit_debug_descriptor;+ JL_DLLEXPORT struct jit_descriptor __jit_debug_descriptor;- LLVM_ATTRIBUTE_NOINLINE extern void __jit_debug_register_code();+ JL_DLLEXPORT LLVM_ATTRIBUTE_NOINLINE void __jit_debug_register_code()+ {+ }
}
namespace {
Not sure if this is due to our compile/link flag or GDB/LLVM bug. (Probably should test on a version of lldb that support jit code registration but somehow my lldb is behaving strangely right now).
Of course an acceptable solution is to make native code debugging in Gallium with and without rr as good as gdb/lldb and also easily installable so that we can remove this interface altogether.
The text was updated successfully, but these errors were encountered: