This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix building SerializationTests unit test on OpenBSD
ClosedPublic

Authored by brad on Feb 16 2022, 4:05 PM.

Details

Summary

This fixes building the unit tests on OpenBSD. OpenBSD does not support RLIMIT_AS.

Diff Detail

Event Timeline

brad created this revision.Feb 16 2022, 4:05 PM
brad requested review of this revision.Feb 16 2022, 4:05 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 16 2022, 4:05 PM
brad updated this revision to Diff 409445.Feb 16 2022, 4:08 PM

Remove a file I did not mean to include as part of the diff.

kadircet accepted this revision.Feb 17 2022, 5:55 AM

thanks

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

can you also add a comment saying RLIMIT_AS doesn't exist in OpenBSD ?

This revision is now accepted and ready to land.Feb 17 2022, 5:55 AM
brad added a comment.Feb 17 2022, 9:15 AM

thanks

Yes, I will do so.