We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a7e42 commit 6c6ccc7Copy full SHA for 6c6ccc7
clang-tools-extra/clangd/unittests/SerializationTests.cpp
@@ -306,8 +306,9 @@ TEST(SerializationTest, CmdlTest) {
306
}
307
308
// 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
+// Sanitizers use a lot of address space, so we can't apply strict limits.
+#if LLVM_ON_UNIX && !LLVM_ADDRESS_SANITIZER_BUILD && \
311
+ !LLVM_MEMORY_SANITIZER_BUILD
312
class ScopedMemoryLimit {
313
struct rlimit OriginalLimit;
314
bool Succeeded = false;
0 commit comments