lld already marks shared library defs as ExportDynamic, which prevents
potentially unsafe devirtualization of symbols defined in shared
libraries. Match that behavior in the gold plugin, and add the same
test.
Depends on D96721.
Paths
| Differential D96722
[gold] Match lld WPD behavior for shared library symbols and add test ClosedPublic Authored by tejohnson on Feb 15 2021, 9:52 AM.
Details Summary lld already marks shared library defs as ExportDynamic, which prevents Depends on D96721.
Diff Detail
Event TimelineComment Actions Great!
This revision is now accepted and ready to land.Feb 17 2021, 10:47 AM
This revision was landed with ongoing or failed builds.Feb 17 2021, 3:29 PM Closed by commit rG50ac3b1d780f: [gold] Match lld WPD behavior for shared library symbols and add test (authored by tejohnson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 324441 llvm/test/tools/gold/X86/Inputs/devirt_vcall_vis_shared_def.ll
llvm/test/tools/gold/X86/devirt_vcall_vis_shared_def.ll
llvm/tools/gold/gold-plugin.cpp
|
The test needs updates.