[compiler-rt] 0a621d3 - [sanitizer] Disable test on Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 22:06:35 PDT 2021


Author: Vitaly Buka
Date: 2021-05-14T22:04:35-07:00
New Revision: 0a621d3398723c43689c411fb14e7af12b6f65e4

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

LOG: [sanitizer] Disable test on Android

readelf needs access to the actual compiled binary, but it's replaced
by a wrapper script.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp
index 204adb52902e7..1e451537d9593 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/symbolize_stack_fp.cpp
@@ -4,6 +4,9 @@
 // RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=SEC
 // RUN: %run %t 2>&1 | FileCheck %s
 
+// On android %t is a wrapper python script so llvm-readelf will fail.
+// UNSUPPORTED: android
+
 /// No .eh_frame && -g => .debug_frame
 // SEC: .debug_frame
 


        


More information about the llvm-commits mailing list