File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
llvm/lib/ExecutionEngine/Orc Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,10 @@ LinkGraphLinkingLayer::LinkGraphLinkingLayer(
499499}
500500
501501LinkGraphLinkingLayer::~LinkGraphLinkingLayer () {
502- assert (Allocs.empty () && " Layer destroyed with resources still attached" );
502+ assert (Allocs.empty () &&
503+ " Layer destroyed with resources still attached "
504+ " (ExecutionSession::endSession() must be called prior to "
505+ " destruction)" );
503506 getExecutionSession ().deregisterResourceManager (*this );
504507}
505508
Original file line number Diff line number Diff line change @@ -88,7 +88,10 @@ RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer(
8888}
8989
9090RTDyldObjectLinkingLayer::~RTDyldObjectLinkingLayer () {
91- assert (MemMgrs.empty () && " Layer destroyed with resources still attached" );
91+ assert (MemMgrs.empty () &&
92+ " Layer destroyed with resources still attached"
93+ " (ExecutionSession::endSession() must be called prior to "
94+ " destruction)" );
9295}
9396
9497void RTDyldObjectLinkingLayer::emit (
You can’t perform that action at this time.
0 commit comments