This is an archive of the discontinued LLVM Phabricator instance.

[libc][bazel] static link test targets
ClosedPublic

Authored by michaelrj on May 2 2023, 11:27 AM.

Details

Summary

This solves issues caused by the symbols for internal components being
marked as hidden. When dynamically linked, the tests of internal
components, such as printf_parser_test, fail due to the symbols being
unavailable.

Diff Detail

Event Timeline

michaelrj created this revision.May 2 2023, 11:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 11:27 AM
michaelrj requested review of this revision.May 2 2023, 11:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 11:27 AM
sivachandra accepted this revision.May 2 2023, 11:58 AM
This revision is now accepted and ready to land.May 2 2023, 11:58 AM
This revision was landed with ongoing or failed builds.May 2 2023, 2:55 PM
This revision was automatically updated to reflect the committed changes.

Thx for the patch @michaelrj !