[PATCH] D91208: [hwasan] Fix Thread reuse.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 06:39:36 PST 2020
thakis added a comment.
This test is failing on our clang packaging bots: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8863946222064502624/+/steps/package_clang/0/stdout?format=raw
Testing: 0.. 10.. 20.. 30.. 40.
FAIL: HWAddressSanitizer-x86_64 :: TestCases/Linux/reuse-threads.cpp (36788 of 78839)
******************** TEST 'HWAddressSanitizer-x86_64 :: TestCases/Linux/reuse-threads.cpp' FAILED ********************
Script:
--
: 'RUN: at line 2'; /b/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions -mllvm -hwasan-instrument-stack=0 /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp -o /b/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/projects/compiler-rt/test/hwasan/X86_64/TestCases/Linux/Output/reuse-threads.cpp.tmp && env HWASAN_OPTIONS=disable_allocator_tagging=1:random_tags=0:verbose_threads=1 /b/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/projects/compiler-rt/test/hwasan/X86_64/TestCases/Linux/Output/reuse-threads.cpp.tmp 2>&1 | FileCheck /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp
--
Exit Code: 1
Command Output (stderr):
--
/b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp:49:16: error: CHECK-DAG: expected string not found in input
// CHECK-DAG: Creating : T{{[0-9]+}} [[A]] stack:
^
<stdin>:26:38: note: scanning from here
Creating : T12 0x770000006000 stack: [0x7f017d89f000,0x7f017e09ef80) sz: 8388480 tls: [0x7f017e09ef80,0x7f017e0a0000)
^
<stdin>:26:38: note: with "A" equal to "0x770000006000"
Creating : T12 0x770000006000 stack: [0x7f017d89f000,0x7f017e09ef80) sz: 8388480 tls: [0x7f017e09ef80,0x7f017e0a0000)
^
<stdin>:27:10: note: possible intended match here
Destroying: T12 0x770000006000 stack: [0x7f017d89f000,0x7f017e09ef80) sz: 8388480 tls: [0x7f017e09ef80,0x7f017e0a0000)
^
Input file: <stdin>
Check file: /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
21: Destroying: T9 0x77000000a000 stack: [0x7f017f0a2000,0x7f017f8a1f80) sz: 8388480 tls: [0x7f017f8a1f80,0x7f017f8a3000)
22: Creating : T10 0x770000012000 stack: [0x7f017e8a1000,0x7f017f0a0f80) sz: 8388480 tls: [0x7f017f0a0f80,0x7f017f0a2000)
23: Destroying: T10 0x770000012000 stack: [0x7f017e8a1000,0x7f017f0a0f80) sz: 8388480 tls: [0x7f017f0a0f80,0x7f017f0a2000)
24: Creating : T11 0x77000000e000 stack: [0x7f017e0a0000,0x7f017e89ff80) sz: 8388480 tls: [0x7f017e89ff80,0x7f017e8a1000)
25: Destroying: T11 0x77000000e000 stack: [0x7f017e0a0000,0x7f017e89ff80) sz: 8388480 tls: [0x7f017e89ff80,0x7f017e8a1000)
26: Creating : T12 0x770000006000 stack: [0x7f017d89f000,0x7f017e09ef80) sz: 8388480 tls: [0x7f017e09ef80,0x7f017e0a0000)
dag:49'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
dag:49'1 with "A" equal to "0x770000006000"
27: Destroying: T12 0x770000006000 stack: [0x7f017d89f000,0x7f017e09ef80) sz: 8388480 tls: [0x7f017e09ef80,0x7f017e0a0000)
dag:49'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dag:49'2 ? possible intended match
>>>>>>
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (1):
HWAddressSanitizer-x86_64 :: TestCases/Linux/reuse-threads.cpp
PTAL!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91208/new/
https://reviews.llvm.org/D91208
More information about the llvm-commits
mailing list