Skip to content

Commit 93dbe36

Browse files
authored
Comment out DebugObjectManagerPlugin (#51859)
Prem said this might fix #51794.
1 parent f235291 commit 93dbe36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jitlayers.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,9 +1947,11 @@ void JuliaOJIT::enableJITDebuggingSupport()
19471947
cantFail(JD.define(orc::absoluteSymbols(GDBFunctions)));
19481948
if (TM->getTargetTriple().isOSBinFormatMachO())
19491949
ObjectLayer.addPlugin(cantFail(orc::GDBJITDebugInfoRegistrationPlugin::Create(ES, JD, TM->getTargetTriple())));
1950+
/*
19501951
else if (TM->getTargetTriple().isOSBinFormatELF())
19511952
//EPCDebugObjectRegistrar doesn't take a JITDylib, so we have to directly provide the call address
19521953
ObjectLayer.addPlugin(std::make_unique<orc::DebugObjectManagerPlugin>(ES, std::make_unique<orc::EPCDebugObjectRegistrar>(ES, orc::ExecutorAddr::fromPtr(&llvm_orc_registerJITLoaderGDBWrapper))));
1954+
*/
19531955
}
19541956
#else
19551957
void JuliaOJIT::enableJITDebuggingSupport()

0 commit comments

Comments
 (0)