Skip to content

Commit 7b3d4e3

Browse files
authored
[NFC][ASan] Replace calls to Report() and Die() with ReportIncompatibleRT() in AsanCheckIncompatibleRT() (#107991)
1 parent c96ee0f commit 7b3d4e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

compiler-rt/lib/asan/asan_linux.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ void AsanCheckIncompatibleRT() {
187187
MemoryMappedSegment segment(filename, sizeof(filename));
188188
while (proc_maps.Next(&segment)) {
189189
if (IsDynamicRTName(segment.filename)) {
190-
Report(
191-
"Your application is linked against "
192-
"incompatible ASan runtimes.\n");
193-
Die();
190+
ReportIncompatibleRT();
194191
}
195192
}
196193
__asan_rt_version = ASAN_RT_VERSION_STATIC;

0 commit comments

Comments
 (0)