[compiler-rt] c860262 - Disable a Darwin test under LSan.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 15:17:56 PDT 2020


Author: Dan Liew
Date: 2020-04-21T15:17:21-07:00
New Revision: c860262bd20d37c23053f14a82e8e4aa8827cc10

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

LOG: Disable a Darwin test under LSan.

* Changing source lines seems to cause us to hit rdar://problem/62132428.
* Even if I workaround the above issue sometimes the source line in the dylib reported by atos is off by one.

It's simpler to just disable the test for now.

rdar://problem/61793759

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp b/compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp
index db4cdf8f9b6d..ec8155365496 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack-trace-in-code-loaded-after-fork.cpp
@@ -3,6 +3,8 @@
 // RUN: %env_tool_opts=verbosity=3 %run %t_loader %t_shared_lib.dylib > %t_loader_output.txt 2>&1
 // RUN: FileCheck -input-file=%t_loader_output.txt %s
 // RUN: FileCheck -check-prefix=CHECK-STACKTRACE -input-file=%t_loader_output.txt %s
+// rdar://problem/61793759 and rdar://problem/62126022.
+// UNSUPPORTED: lsan
 
 #include <stdio.h>
 


        


More information about the llvm-commits mailing list