[compiler-rt] 41c50f0 - [HWASan] comment why hwasan_symbolize_stack_uas is arm64 only

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 17:56:15 PDT 2024


Author: Florian Mayer
Date: 2024-06-13T17:55:56-07:00
New Revision: 41c50f0836439f4d53e7209cd9e9ce54341ed9a3

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

LOG: [HWASan] comment why hwasan_symbolize_stack_uas is arm64 only

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp b/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
index b96ec9e415c75..62caf1bd25fb0 100644
--- a/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
+++ b/compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp
@@ -1,7 +1,8 @@
 // RUN: %clang_hwasan -Wl,--build-id -g %s -o %t
 // RUN: %env_hwasan_opts=symbolize=0 not %run %t 2>&1 | hwasan_symbolize --symbols $(dirname %t) --index | FileCheck %s
 
-// TODO: find out why this fails on sanitizer-x86_64-linux-qemu bot
+// This doesn't work on X86, because that uses instrument-with-calls which
+// disables frame records.
 // REQUIRES: aarch64-target-arch
 
 #include <sanitizer/hwasan_interface.h>


        


More information about the llvm-commits mailing list