This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Link tests against libatomic if libatomic exists
ClosedPublic

Authored by amyk on Aug 20 2021, 9:27 PM.

Details

Summary

It is possible that libatomic does not exist on some systems. This patch updates
the scudo standalone tests to link against libatomic if the library exists.

This is an update to the original patch: https://reviews.llvm.org/D64134 and
aims to resolve https://bugs.llvm.org/show_bug.cgi?id=51431.

Diff Detail

Event Timeline

amyk created this revision.Aug 20 2021, 9:27 PM
amyk requested review of this revision.Aug 20 2021, 9:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2021, 9:27 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Aug 20 2021, 11:59 PM
This revision is now accepted and ready to land.Aug 20 2021, 11:59 PM