Skip to content

Commit c07903a

Browse files
committed
[libc++abi] Disable test with a leaks
Leak could be real, as the code terminates before freeing the memory.
1 parent 88934a8 commit c07903a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libcxx/utils/libcxx/test/params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def getStdFlag(cfg, std):
242242
AddFlag("-fsanitize=leaks") if sanitizer == "Leaks" else None,
243243

244244
AddFeature("sanitizer-new-delete") if sanitizer in ["Address", "HWAddress", "Memory", "MemoryWithOrigins", "Thread"] else None,
245+
AddFeature("lsan") if sanitizer in ["Address", "HWAddress", "Leaks"] else
245246
]
246247
)
247248
),

libcxxabi/test/test_vector2.pass.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// Reports leaks after https://github.com/llvm/llvm-project/pull/66285
10+
// UNSUPPORTED: lsan
11+
912
// UNSUPPORTED: no-exceptions
1013

1114
#include "cxxabi.h"

0 commit comments

Comments
 (0)