From 93dbe3631999bc252cfc07f9c4d3b997f9168ce5 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Fri, 27 Oct 2023 16:58:28 -0400 Subject: [PATCH] Comment out DebugObjectManagerPlugin (#51859) Prem said this might fix #51794. --- src/jitlayers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jitlayers.cpp b/src/jitlayers.cpp index 6c362fafcc756..ae385e17c4fb9 100644 --- a/src/jitlayers.cpp +++ b/src/jitlayers.cpp @@ -1947,9 +1947,11 @@ void JuliaOJIT::enableJITDebuggingSupport() cantFail(JD.define(orc::absoluteSymbols(GDBFunctions))); if (TM->getTargetTriple().isOSBinFormatMachO()) ObjectLayer.addPlugin(cantFail(orc::GDBJITDebugInfoRegistrationPlugin::Create(ES, JD, TM->getTargetTriple()))); +/* else if (TM->getTargetTriple().isOSBinFormatELF()) //EPCDebugObjectRegistrar doesn't take a JITDylib, so we have to directly provide the call address ObjectLayer.addPlugin(std::make_unique(ES, std::make_unique(ES, orc::ExecutorAddr::fromPtr(&llvm_orc_registerJITLoaderGDBWrapper)))); +*/ } #else void JuliaOJIT::enableJITDebuggingSupport()