From a74dd9e66f61f247597aa409847cbf47a8607b8f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 14 Oct 2023 11:28:47 +0000 Subject: [PATCH] XXX: Manual __jit_debug_descriptor --- llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp index 8eca874c48b870..f5ed2a67ead15a 100644 --- a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp +++ b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp @@ -49,7 +49,7 @@ struct jit_descriptor { // 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. -struct jit_descriptor __jit_debug_descriptor = {JitDescriptorVersion, 0, +LLVM_FUNC_ABI struct jit_descriptor __jit_debug_descriptor = {JitDescriptorVersion, 0, nullptr, nullptr}; // Debuggers that implement the GDB JIT interface put a special breakpoint in