Skip to content

Commit 5091357

Browse files
committed
[clangd] Disable ScopedMemoryLimit on tsan builds
This is causing flakiness, see https://lab.llvm.org/buildbot/#/builders/131/builds/39272
1 parent 6052eac commit 5091357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/unittests/SerializationTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ TEST(SerializationTest, CmdlTest) {
325325
// rlimit is part of POSIX. RLIMIT_AS does not exist in OpenBSD.
326326
// Sanitizers use a lot of address space, so we can't apply strict limits.
327327
#if LLVM_ON_UNIX && defined(RLIMIT_AS) && !LLVM_ADDRESS_SANITIZER_BUILD && \
328-
!LLVM_MEMORY_SANITIZER_BUILD
328+
!LLVM_MEMORY_SANITIZER_BUILD && !LLVM_THREAD_SANITIZER_BUILD
329329
class ScopedMemoryLimit {
330330
struct rlimit OriginalLimit;
331331
bool Succeeded = false;

0 commit comments

Comments
 (0)