commit | 824277795a20863f96736e6218667913d660ba1e | [log] [tgz] |
---|---|---|
author | Teresa Johnson <tejohnson@google.com> | Mon Feb 15 09:19:50 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 03:18:00 2021 -0800 |
tree | 94ffbed1c09c41e604d8efa7593fb34344b68bbf | |
parent | 85b8541d6ebe634af85ac3b183acde23d3716672 [diff] |
[gold] Match lld WPD behavior for shared library symbols and add test 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. Differential Revision: https://reviews.llvm.org/D96722 GitOrigin-RevId: 50ac3b1d780fd385d50589641bfc91b95cd2d12f