LeakSanitizer does not work with ptrace but currently it
will print warnings (only under verbosity=1) and then proceed
to print tons of false reports.
This patch makes lsan fail hard under ptrace with a verbose message.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 407 Build 407: arc lint + arc unit
Event Timeline
test/lsan/TestCases/strace_test.cc | ||
---|---|---|
3 | Apparently strace doesn't exist on all the bots: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-debian-fast/builds/971/steps/test/logs/stdio /home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-debian-fast/llvm.src/projects/compiler-rt/test/lsan/TestCases/strace_test.cc:13:11: error: expected string not found in input // CHECK: LeakSanitizer has encountered a fatal error ^ <stdin>:1:1: note: scanning from here Error: Unable to find `strace' in PATH: No such file or directory Maybe this needs a "requires:" line, or that bot needs strace installed. (Not sure, and not my bot, so I don't care much, just happened to see it.) |
Apparently strace doesn't exist on all the bots:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-debian-fast/builds/971/steps/test/logs/stdio
Maybe this needs a "requires:" line, or that bot needs strace installed. (Not sure, and not my bot, so I don't care much, just happened to see it.)