[compiler-rt] 9d5cecc - Speculatively un-XFAIL TestCases/Misc/Posix/ubsan_options.cpp on Darwin

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 01:00:18 PDT 2024


Author: Hans Wennborg
Date: 2024-10-17T10:00:00+02:00
New Revision: 9d5ceccbd909398babd1ab71d62b0b708bb066c0

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

LOG: Speculatively un-XFAIL TestCases/Misc/Posix/ubsan_options.cpp on Darwin

After https://github.com/llvm/llvm-project/pull/111497 the test started
unexpectedly passing (https://crbug.com/373891811), probably because it
does actually work but wasn't run when it lived in the Misc/Linux/
directory.

Added: 
    

Modified: 
    compiler-rt/test/ubsan/TestCases/Misc/Posix/ubsan_options.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/ubsan/TestCases/Misc/Posix/ubsan_options.cpp b/compiler-rt/test/ubsan/TestCases/Misc/Posix/ubsan_options.cpp
index 284b4ba0abe47b..515102715a6605 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/Posix/ubsan_options.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/Posix/ubsan_options.cpp
@@ -1,9 +1,6 @@
 // RUN: %clangxx -fsanitize=integer -fsanitize-recover=integer %s -o %t
 // RUN: not %run %t 2>&1 | FileCheck %s
 
-// __ubsan_default_options() doesn't work on Darwin.
-// XFAIL: darwin
-
 #include <stdint.h>
 
 extern "C" const char *__ubsan_default_options() {


        


More information about the llvm-commits mailing list