HomePhabricator

Make -fvisibility-inlines-hidden apply to static local variables in inline…

Authored by erik.pilkington on Sep 1 2020, 5:17 PM.

Description

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

This effectively disables r340386 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.

rdar://47688592

Differential revision: https://reviews.llvm.org/D86881