llvm-project/lld/test
Rui Ueyama 145ef0186c [PECOFF] Fix /include option in .drectve section.
/INCLUDE arguments passed as command line options are handled in the
same way as Unix -u. All option values are converted to an undefined
symbol and added to a dummy input file, so that the specified symbols
are resolved.

One tricky thing on Windows is that the option is also allowed to
appear in the object file's directive section. At the time when
it's being read, all (regular) command line options have already
been processed. We cannot add undefined atoms to the dummy file
anymore.

Previously, we added such /INCLUDE to a set that has already been
processed. As a result the options were ignored.

This patch fixes the issue. Now, /INCLUDE symbols in the directive
section are handled as real undefined symbol in the COFF file.
We create an undefined symbol for each /INCLUDE argument and add
it to the file being parsed.

llvm-svn: 214824
2014-08-04 23:48:57 +00:00
..
Driver [ELF] Fix the bug -- LLD crashes if the --whole-archive option 2014-06-10 13:43:13 +00:00
LinkerScript [ELF] Implement parsing `-l` prefixed items in the `GROUP` linker script command. 2014-07-15 17:17:30 +00:00
Unit [lit] Python 3. 2014-03-26 00:53:48 +00:00
core Move GOTPass and StubsPass from Core to MachO 2014-07-09 21:04:24 +00:00
darwin [mach-o] refactor KindHandler into ArchHandler and simplify passes. 2014-07-16 19:49:02 +00:00
elf [Mips] Replace assembler code by YAML to make the 'gotsym.test' test 2014-08-02 20:18:31 +00:00
mach-o XFAIL the ARM test when we don't have this target. 2014-07-31 19:02:10 +00:00
pecoff [PECOFF] Fix /include option in .drectve section. 2014-08-04 23:48:57 +00:00
CMakeLists.txt Add missing dependency to macho-dump. 2014-07-02 18:16:31 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
lit.cfg XFAIL the ARM test when we don't have this target. 2014-07-31 19:02:10 +00:00
lit.site.cfg.in [lit] Python 3. 2014-03-26 00:53:48 +00:00