Skip to content

Commit 22e837d

Browse files
author
git apple-llvm automerger
committed
Merge commit '6c6ccc72a612' from llvm.org/main into next
2 parents 63a0bda + 6c6ccc7 commit 22e837d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,9 @@ TEST(SerializationTest, CmdlTest) {
306306
}
307307

308308
// rlimit is part of POSIX.
309-
// ASan uses a lot of address space, so we can't apply strict limits.
310-
#if LLVM_ON_UNIX && !LLVM_ADDRESS_SANITIZER_BUILD
309+
// Sanitizers use a lot of address space, so we can't apply strict limits.
310+
#if LLVM_ON_UNIX && !LLVM_ADDRESS_SANITIZER_BUILD && \
311+
!LLVM_MEMORY_SANITIZER_BUILD
311312
class ScopedMemoryLimit {
312313
struct rlimit OriginalLimit;
313314
bool Succeeded = false;

0 commit comments

Comments
 (0)