Skip to content

Commit b12dc95

Browse files
committed
Updated mainJD to ProcessSymsJD in jitlink.cpp
1 parent 3db8311 commit b12dc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-jitlink/llvm-jitlink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ Session::Session(std::unique_ptr<ExecutorProcessControl> EPC, Error &Err)
10161016
if (VTuneSupport && TT.isOSBinFormatELF()) {
10171017
ObjLayer.addPlugin(ExitOnErr(DebugInfoPreservationPlugin::Create()));
10181018
ObjLayer.addPlugin(ExitOnErr(VTuneSupportPlugin::Create(
1019-
this->ES.getExecutorProcessControl(), *MainJD, /*EmitDebugInfo=*/true,
1019+
this->ES.getExecutorProcessControl(), *ProcessSymsJD, /*EmitDebugInfo=*/true,
10201020
/*TestMode=*/true)));
10211021
}
10221022

0 commit comments

Comments
 (0)