[PATCH] D119989: [clangd] Fix building SerializationTests unit test on OpenBSD
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 17 05:55:25 PST 2022
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks
================
Comment at: clang-tools-extra/clangd/unittests/SerializationTests.cpp:313
// Sanitizers use a lot of address space, so we can't apply strict limits.
-#if LLVM_ON_UNIX && !LLVM_ADDRESS_SANITIZER_BUILD && \
+#if LLVM_ON_UNIX && defined(RLIMIT_AS) && !LLVM_ADDRESS_SANITIZER_BUILD && \
!LLVM_MEMORY_SANITIZER_BUILD
----------------
can you also add a comment saying `RLIMIT_AS` doesn't exist in OpenBSD ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119989/new/
https://reviews.llvm.org/D119989
More information about the cfe-commits
mailing list