[PATCH] D86881: Make -fvisibility-inlines-hidden apply to static local variables in inline functions on Darwin
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 09:52:25 PDT 2020
erik.pilkington created this revision.
erik.pilkington added a reviewer: arphaman.
Herald added subscribers: dang, ributzka, dexonsmith, jkorous.
erik.pilkington requested review of this revision.
This effectively disables https://reviews.llvm.org/D50968 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
https://reviews.llvm.org/D86881
Files:
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/lib/AST/Decl.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/Darwin.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGenCXX/visibility-inlines-hidden-static-local-var.cpp
clang/test/Driver/darwin-objc-options.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86881.288968.patch
Type: text/x-patch
Size: 7708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200831/bcec4dd7/attachment.bin>
More information about the cfe-commits
mailing list