This allows overriding -fvisibility-inlines-hidden.
Original change by andrewjcg, rebased to top of trunk.
Paths
| Differential D103537
[clang][driver] Add -fno-visibility-inlines-hidden option ClosedPublic Authored by kongyi on Jun 2 2021, 10:13 AM.
Details
Summary This allows overriding -fvisibility-inlines-hidden. Original change by andrewjcg, rebased to top of trunk.
Diff Detail Event Timeline
kongyi marked 5 inline comments as done. This revision is now accepted and ready to land.Jun 3 2021, 12:37 AM This revision was landed with ongoing or failed builds.Jun 3 2021, 2:09 AM Closed by commit rGdcd7664f92d3: Add -fno-visibility-inlines-hidden option (authored by kongyi). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 349465 clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/visibility-inlines-hidden.cpp
|
Use NegFlag. Just add a driver option, avoid the CC1 option.