[compiler-rt] c615411 - [test][asan] Disable symbolization

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 00:02:09 PDT 2022


Author: Vitaly Buka
Date: 2022-08-11T00:02:02-07:00
New Revision: c615411d82eb1441336507b104a6a2fd351ca0ff

URL: https://github.com/llvm/llvm-project/commit/c615411d82eb1441336507b104a6a2fd351ca0ff
DIFF: https://github.com/llvm/llvm-project/commit/c615411d82eb1441336507b104a6a2fd351ca0ff.diff

LOG: [test][asan] Disable symbolization

Reduces runtime of the test.
Unrelated pre-merge checks often timeouts here.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/scariness_score_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/scariness_score_test.cpp b/compiler-rt/test/asan/TestCases/scariness_score_test.cpp
index b0df90cb71b3..d73975feb687 100644
--- a/compiler-rt/test/asan/TestCases/scariness_score_test.cpp
+++ b/compiler-rt/test/asan/TestCases/scariness_score_test.cpp
@@ -4,7 +4,7 @@
 // RUN: %clangxx_asan -O0 %s -o %t
 // On OSX and Windows, alloc_dealloc_mismatch=1 isn't 100% reliable, so it's
 // off by default. It's safe for these tests, though, so we turn it on.
-// RUN: export %env_asan_opts=detect_stack_use_after_return=1:handle_abort=1:print_scariness=1:alloc_dealloc_mismatch=1
+// RUN: export %env_asan_opts=symbolize=0:detect_stack_use_after_return=1:handle_abort=1:print_scariness=1:alloc_dealloc_mismatch=1
 // Make sure the stack is limited (may not be the default under GNU make)
 // RUN: ulimit -s 4096
 // RUN: not %run %t  1 2>&1 | FileCheck %s --check-prefix=CHECK1
@@ -39,7 +39,7 @@
 // RUN: %clangxx_asan -O0 %s -o %t -fsanitize-address-use-after-return=always
 // On OSX and Windows, alloc_dealloc_mismatch=1 isn't 100% reliable, so it's
 // off by default. It's safe for these tests, though, so we turn it on.
-// RUN: export %env_asan_opts=handle_abort=1:print_scariness=1:alloc_dealloc_mismatch=1
+// RUN: export %env_asan_opts=symbolize=0:handle_abort=1:print_scariness=1:alloc_dealloc_mismatch=1
 // Make sure the stack is limited (may not be the default under GNU make)
 // RUN: ulimit -s 4096
 // RUN: not %run %t  1 2>&1 | FileCheck %s --check-prefix=CHECK1


        


More information about the llvm-commits mailing list