]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/lsan/TestCases/strace_test.cc
1 // Test that lsan reports a proper error when running under strace.
3 // RUN: %clangxx_lsan %s -o %t
4 // RUN: not strace -o /dev/null %run %t 2>&1 | FileCheck %s
9 static volatile void *sink
;
14 // CHECK: LeakSanitizer has encountered a fatal error
15 // CHECK: HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)