hanchenye-llvm-project/lld/test
Rui Ueyama 039d248778 Do not keep shared symbols created from garbage-collected eliminated DSOs.
If all references to a DSO happen to be weak, and if the DSO is
specified with --as-needed, the DSO is not added to DT_NEEDED.
If that happens, we also need to eliminate shared symbols created
from the DSO. Otherwise, they become dangling references that point
to non-exsitent DSO.

Fixes https://bugs.llvm.org/show_bug.cgi?id=36991

Differential Revision: https://reviews.llvm.org/D45536

llvm-svn: 329960
2018-04-12 21:57:04 +00:00
..
COFF COFF: Process /merge flag as we create output sections. 2018-04-07 00:46:55 +00:00
Driver/Inputs
ELF Do not keep shared symbols created from garbage-collected eliminated DSOs. 2018-04-12 21:57:04 +00:00
MinGW [MinGW] Add support for the GNU ld flag --kill-at 2018-03-14 20:17:24 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
darwin Replace -flavor {gnu,darwin} with ld64.lld or ld.lld. 2018-02-16 21:16:57 +00:00
mach-o [lit] Fix a problem with spaces in the python path by adding quotes around it 2018-02-21 00:03:41 +00:00
wasm [WebAssembly] Match llvm change to custom section size 2018-04-12 20:31:35 +00:00
CMakeLists.txt Add make targets for running all lld tests 2018-02-14 13:28:53 +00:00
lit.cfg.py [PDB] Resubmit "Support embedding natvis files in PDBs." 2018-03-23 19:57:25 +00:00
lit.site.cfg.py.in [PDB] Resubmit "Support embedding natvis files in PDBs." 2018-03-23 19:57:25 +00:00