[compiler-rt] 8239045 - [DFSan] XFail a test that's suffering too much optimization

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 03:25:47 PDT 2020


Author: Jeremy Morse
Date: 2020-09-11T11:25:24+01:00
New Revision: 82390454f0c4dfc57dbb82a2cad77de1260868a4

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

LOG: [DFSan] XFail a test that's suffering too much optimization

See https://bugs.llvm.org/show_bug.cgi?id=47488 , rGfb109c42d9 is
optimizing out part of this test.

Added: 
    

Modified: 
    compiler-rt/test/dfsan/event_callbacks.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/dfsan/event_callbacks.c b/compiler-rt/test/dfsan/event_callbacks.c
index c0f4fff37282..6f9fd289c226 100644
--- a/compiler-rt/test/dfsan/event_callbacks.c
+++ b/compiler-rt/test/dfsan/event_callbacks.c
@@ -2,6 +2,10 @@
 // RUN: %clang_dfsan -O2 -mllvm -dfsan-event-callbacks %s %t-callbacks.o -o %t
 // RUN: %run %t FooBarBaz 2>&1 | FileCheck %s
 
+// See PR47488, parts of this test get optimized out by a more aggressive
+// dead store eliminator.
+// XFAIL: *
+
 // Tests that callbacks are inserted for store events when
 // -dfsan-event-callbacks is specified.
 


        


More information about the llvm-commits mailing list