[compiler-rt] 1ba4a45 - [test][hwasan] Add -g required for the test

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 11:52:39 PST 2023


Author: Vitaly Buka
Date: 2023-12-22T11:52:35-08:00
New Revision: 1ba4a452e51ccfaec0a453b0800dec6f5d557b80

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

LOG: [test][hwasan] Add -g required for the test

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/strip_path_prefix.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/strip_path_prefix.c b/compiler-rt/test/hwasan/TestCases/strip_path_prefix.c
index 5e41d03b683e93..d8c96e392b9aaa 100644
--- a/compiler-rt/test/hwasan/TestCases/strip_path_prefix.c
+++ b/compiler-rt/test/hwasan/TestCases/strip_path_prefix.c
@@ -1,4 +1,4 @@
-// RUN: %clang_hwasan -O0 %s -o %t && %env_hwasan_opts=strip_path_prefix=/TestCases/ not %run %t 2>&1 | FileCheck %s
+// RUN: %clang_hwasan -O0 -g %s -o %t && %env_hwasan_opts=strip_path_prefix=/TestCases/ not %run %t 2>&1 | FileCheck %s
 
 // Stack histories currently are not recorded on x86.
 // XFAIL: target=x86_64{{.*}}


        


More information about the llvm-commits mailing list