This is an archive of the discontinued LLVM Phabricator instance.

[libc] Make libc symbols weak by default for bazel
ClosedPublic

Authored by gchatelet on Nov 30 2022, 3:44 AM.

Details

Summary

This helps override llvm libc functions for experiment purposes.

Diff Detail

Event Timeline

gchatelet created this revision.Nov 30 2022, 3:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 3:44 AM
gchatelet requested review of this revision.Nov 30 2022, 3:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 3:44 AM

Do we really want all of the symbols to be weak or only the memory functions?

Let's start with the memory functions and we can expand / shrink as needed.

gchatelet updated this revision to Diff 479207.Dec 1 2022, 2:17 AM
  • rebase and restrict weak attributes to memory functions
sivachandra accepted this revision.Dec 1 2022, 11:31 PM
This revision is now accepted and ready to land.Dec 1 2022, 11:31 PM