Skip to content

Commit 71a6c45

Browse files
Fix unit-test on builds without assertions.
1 parent 31e98b1 commit 71a6c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/unittests/Core/MemoryMaps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ TEST_P(MemoryMapsTester, MultipleSegmentsMismatchedBaseAddress) {
136136

137137
DataAggregator DA("");
138138
BC->setFilename(Filename);
139-
ASSERT_DEATH(
139+
ASSERT_DEBUG_DEATH(
140140
{ Error Err = DA.preprocessProfile(*BC); },
141141
"Base address on multiple segment mappings should match");
142142
}

0 commit comments

Comments
 (0)