Skip to content

Commit

Permalink
Comment out DebugObjectManagerPlugin (JuliaLang#51859)
Browse files Browse the repository at this point in the history
Prem said this might fix JuliaLang#51794.
  • Loading branch information
Keno committed Oct 27, 2023
1 parent f235291 commit 93dbe36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<orc::DebugObjectManagerPlugin>(ES, std::make_unique<orc::EPCDebugObjectRegistrar>(ES, orc::ExecutorAddr::fromPtr(&llvm_orc_registerJITLoaderGDBWrapper))));
*/
}
#else
void JuliaOJIT::enableJITDebuggingSupport()
Expand Down

0 comments on commit 93dbe36

Please sign in to comment.