This is an archive of the discontinued LLVM Phabricator instance.

Pass through more LIBCXX_* variables to libfuzzer's custom lib++
ClosedPublic

Authored by ccross on Mar 3 2022, 3:37 PM.

Details

Summary

Pass LIBCXX_HAS_PTHREAD_LIB, LIBCXX_HAS_RT_LIB and LIBCXXABI_HAS_PTHREAD_LIB
through to the custom lib++ builds so that libfuzzer doesn't end up with a .deplibs section that
links against those libraries when the variables are set to false.

Diff Detail

Event Timeline

ccross created this revision.Mar 3 2022, 3:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 3:37 PM
Herald added a subscriber: mgorny. · View Herald Transcript
ccross requested review of this revision.Mar 3 2022, 3:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 3:37 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 3 2022, 6:17 PM
ccross updated this revision to Diff 412889.Mar 3 2022, 6:21 PM

Do you have commit permissions or do you need me to land this change for you?

This revision was automatically updated to reflect the committed changes.