[compiler-rt] 262cb5f - tsan: fix java_symbolization test

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 22:48:48 PDT 2021


Author: Dmitry Vyukov
Date: 2021-07-29T07:48:39+02:00
New Revision: 262cb5f5b492b77336e6dea3f720eec9632cced4

URL: https://github.com/llvm/llvm-project/commit/262cb5f5b492b77336e6dea3f720eec9632cced4
DIFF: https://github.com/llvm/llvm-project/commit/262cb5f5b492b77336e6dea3f720eec9632cced4.diff

LOG: tsan: fix java_symbolization test

We reliably remove bottom libc-guts frames only on linux/glibc.
Some bots failed on this test showing other bottom frames:

 .annobin_libc_start.c libc-start.c (libc.so.6+0x249f4)
 generic_start_main.isra.0 libc-start.c (libc.so.6+0x45b0c)

We can't reliably remove all of possible bottom frames.
So remove the assertion for that.

Differential Revision: https://reviews.llvm.org/D107037

Added: 
    

Modified: 
    compiler-rt/test/tsan/java_symbolization.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/tsan/java_symbolization.cpp b/compiler-rt/test/tsan/java_symbolization.cpp
index a0187acc991a5..809790a6a5131 100644
--- a/compiler-rt/test/tsan/java_symbolization.cpp
+++ b/compiler-rt/test/tsan/java_symbolization.cpp
@@ -56,15 +56,12 @@ int main() {
 // CHECK:     #1 MyOuterFunc MyOuterFile.java:4321:65
 // CHECK:     #2 Caller1 CallerFile.java:111:22
 // CHECK:     #3 Caller2 CallerFile.java:333:44
-// CHECK-NOT: #4
 // CHECK:   Previous write
 // CHECK:     #0 MyInnerFunc MyInnerFile.java:1234:56
 // CHECK:     #1 MyOuterFunc MyOuterFile.java:4321:65
 // CHECK:     #2 Caller1 CallerFile.java:111:22
 // CHECK:     #3 Caller2 CallerFile.java:333:44
-// CHECK-NOT: #4
 // CHECK:   Location is heap block of size 32 at {{.*}} allocated by main thread:
 // CHECK:     #0 Allocer1 Alloc.java:11:222
 // CHECK:     #1 Allocer2 Alloc.java:33:444
-// CHECK-NOT: #2
 // CHECK: DONE


        


More information about the llvm-commits mailing list