llvm-project/lld/test
Rui Ueyama e5416ec2d2 Add a fallback mechanism for undefined atom.
In COFF, an undefined symbol can have up to one alternative name. If a symbol
is resolved by its regular name, then it's linked normally. If a symbol is not
found in any input files, all references to the regular name are resolved using
the alternative name. If the alternative name is not found, it's a link error.
This mechanism is called "weak externals".

To support this mechanism, I added a new member function fallback() to undefined
atom. If an undefined atom has the second name, fallback() returns a new undefined
atom that should be used instead of the original one to resolve undefines. If it
does not have the second name, the function returns nullptr.

Differential Revision: http://llvm-reviews.chandlerc.com/D1550

llvm-svn: 190625
2013-09-12 19:14:05 +00:00
..
Driver Add support for --sysroot. 2013-09-03 16:29:02 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:51:17 +00:00
core Add a fallback mechanism for undefined atom. 2013-09-12 19:14:05 +00:00
darwin This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
elf [lld][tests] Fix buildbot failure on darwin 2013-09-12 18:10:20 +00:00
pecoff [lld][tests] Fix buildbot failure on darwin 2013-09-12 18:10:20 +00:00
CMakeLists.txt Add llc to check-lld deps. We use the command in lit.cfg. 2013-09-02 23:26:00 +00:00
linker-script.test [lld][ELF] Add parser for linker script ENTRY command 2013-06-03 18:05:21 +00:00
lit.cfg [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:51:17 +00:00
lit.site.cfg.in [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:51:17 +00:00