Page MenuHomePhabricator

Make -fvisibility-inlines-hidden apply to static local variables in inline functions on Darwin

Authored by erik.pilkington on Aug 31 2020, 9:52 AM.



This effectively disables on Darwin, and provides a command line flag to opt into/out of this behaviour. This change is needed to compile certain Apple headers correctly.


Diff Detail

Event Timeline

erik.pilkington requested review of this revision.Aug 31 2020, 9:52 AM
arphaman accepted this revision.Sep 1 2020, 9:49 AM
This revision is now accepted and ready to land.Sep 1 2020, 9:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 2 2020, 9:19 AM

But this (re-)breaks the functionality of -fvisibility-inlines-hidden on Darwin. That seems bad? I'd've liked to see more of an explanation as to why this was considered a necessary breakage.