From dd0013c6369f874fe41ea7ade3d3df74212cf64d Mon Sep 17 00:00:00 2001 From: "xumingjie.enna1" Date: Tue, 10 Sep 2024 17:32:53 +0800 Subject: [PATCH] [NFC][ASan] Replace calls to Report() and Die() with ReportIncompatibleRT() in AsanCheckIncompatibleRT() --- compiler-rt/lib/asan/asan_linux.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler-rt/lib/asan/asan_linux.cpp b/compiler-rt/lib/asan/asan_linux.cpp index 0b470db86748f..4cabca388ca9a 100644 --- a/compiler-rt/lib/asan/asan_linux.cpp +++ b/compiler-rt/lib/asan/asan_linux.cpp @@ -187,10 +187,7 @@ void AsanCheckIncompatibleRT() { MemoryMappedSegment segment(filename, sizeof(filename)); while (proc_maps.Next(&segment)) { if (IsDynamicRTName(segment.filename)) { - Report( - "Your application is linked against " - "incompatible ASan runtimes.\n"); - Die(); + ReportIncompatibleRT(); } } __asan_rt_version = ASAN_RT_VERSION_STATIC;