1 // RUN: %clang_hwasan -O0 -g %s -o %t && %env_hwasan_opts=strip_path_prefix=/TestCases/ not %run %t 2>&1 | FileCheck %s
3 // Stack histories currently are not recorded on x86.
4 // XFAIL: target=x86_64{{.*}}
7 #include <sanitizer/hwasan_interface.h>
12 __attribute__((noinline
)) char *buggy() {
23 // CHECK: READ of size 1 at
24 // CHECK: #0 {{.*}} in main strip_path_prefix.c:[[@LINE-2]]
25 // CHECK: Potentially referenced stack objects:
26 // CHECK: in buggy strip_path_prefix.c:[[@LINE-12]]