hanchenye-llvm-project/lld/test
George Rimar db21e5324a [ELF] - Linkerscript: add test for checking interaction with archive files.
Imagine we have archive file with symbols foo and bar.
And script that do foo = 1.
In that case correct behavior is not to fetch symbols from archive but
create absolute symbol. 
If we have script zed = foo then symbol foo will be fetched from archive.
Currently we have Opt.ReferencedSymbols list of symbols referenced
by script and create them undefined early. That allows archives fetching logic 
to work. That is what LLD already do and it seems everything is fine here.

But during writing D37059 I had to add left side of assignments to
Opt.ReferencedSymbols list because wanted to stop optimizing out
these symbols when LTO is involved (LTO also uses this list). 
And testcase from this patch would have fail if we would have it before.

Differential revision: https://reviews.llvm.org/D37208

llvm-svn: 312004
2017-08-29 15:05:14 +00:00
..
COFF Integrate manifest merging library into LLD. 2017-08-22 03:15:28 +00:00
Driver/Inputs
ELF [ELF] - Linkerscript: add test for checking interaction with archive files. 2017-08-29 15:05:14 +00:00
Unit
darwin
mach-o [MACH-O] Fix the ASM code generated for __stub_helpers section 2017-08-24 23:51:40 +00:00
CMakeLists.txt Add a missing tool dependency. 2017-07-20 22:39:31 +00:00
lit.cfg Integrate manifest merging library into LLD. 2017-08-22 03:15:28 +00:00
lit.site.cfg.in Integrate manifest merging library into LLD. 2017-08-22 03:15:28 +00:00