Author: Vitaly Buka Date: 2021-11-04T18:18:03-07:00 New Revision: 6c6ccc72a6124164df5b8445624d220d45cf4b6a
URL: https://github.com/llvm/llvm-project/commit/6c6ccc72a6124164df5b8445624d220d45cf4b6a DIFF: https://github.com/llvm/llvm-project/commit/6c6ccc72a6124164df5b8445624d220d45cf4b6a.diff LOG: [NFC] Don't set rlimit in test with MSAN Added: Modified: clang-tools-extra/clangd/unittests/SerializationTests.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/unittests/SerializationTests.cpp b/clang-tools-extra/clangd/unittests/SerializationTests.cpp index f866635283e5f..548b027599650 100644 --- a/clang-tools-extra/clangd/unittests/SerializationTests.cpp +++ b/clang-tools-extra/clangd/unittests/SerializationTests.cpp @@ -306,8 +306,9 @@ TEST(SerializationTest, CmdlTest) { } // rlimit is part of POSIX. -// ASan uses a lot of address space, so we can't apply strict limits. -#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 && \ + !LLVM_MEMORY_SANITIZER_BUILD class ScopedMemoryLimit { struct rlimit OriginalLimit; bool Succeeded = false; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits