hanchenye-llvm-project/lld/test/COFF
Bob Haarman 25c731874d COFF: add test for /INCLUDE directives specified in bitcode
Summary: MSVC allows linker options to be specified in source code. One of these is the /INCLUDE directive, which specifies that a symbol must be added to the symbol table, even if it otherwise wouldn't be. Existing tests cover the case where the linker is given an object file with an /INCLUDE directive, but we also need to cover the case where /INCLUDE is specified in a bitcode file (as would happen when using LTO). This new test covers that case.

Reviewers: pcc, ruiu

Reviewed By: ruiu

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

llvm-svn: 293107
2017-01-25 23:07:40 +00:00
..
Inputs PDB: Merge type info. 2017-01-12 03:09:25 +00:00
alternatename.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
ar-comdat.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
arm-thumb-branch-error.s COFF ARM: Error out if 24 bit thumb branches are out of range 2016-08-05 17:33:24 +00:00
armnt-blx23t.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
armnt-branch24t.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
armnt-entry-point.test
armnt-imports.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
armnt-mov32t-exec.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
armnt-movt32t.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
base.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
baserel.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
cl-gl.test Identify object files compiled with cl.exe /GL. 2016-11-15 01:01:51 +00:00
common.test [lld/COFF] Don't round alignment if it's already a power-of-two. 2016-11-11 02:53:48 +00:00
conflict-mangled.test COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
conflict.test COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
debug.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
defparser.test
delayimports.test
delayimports32.test COFF: add beginnings of debug directory creation 2016-08-29 21:20:46 +00:00
dll.test COFF: We no longer require lib.exe to test DLL exports. 2016-12-15 00:11:17 +00:00
driver.test
entry-inference.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
entry-inference2.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
entry-inference32.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
entry-mangled.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
entrylib.ll
export-exe.test COFF: We no longer require lib.exe to test DLL exports. 2016-12-15 00:11:17 +00:00
export.test COFF: We no longer require lib.exe to test DLL exports. 2016-12-15 00:11:17 +00:00
export32.test COFF: We no longer require lib.exe to test DLL exports. 2016-12-15 00:11:17 +00:00
failifmismatch.test
filetype.test
force.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
heap.test
hello32.test
help.test
icf-associative.test Fix a bug in ICF involving COFF associative sections. 2016-12-02 07:46:12 +00:00
icf-circular.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
icf-circular2.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
icf-different-align.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
icf-local.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
icf-simple.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
imports-mangle.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
imports.test
include-lto.ll COFF: add test for /INCLUDE directives specified in bitcode 2017-01-25 23:07:40 +00:00
include.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
include2.test COFF: New symbol table design. 2016-12-09 21:55:24 +00:00
internal.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
invalid-obj.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
largeaddressaware.test
libpath.test
linkenv.test
linkrepro.test Revert r291526: Re-enable /linkrepro test on Windows. 2017-01-10 02:08:37 +00:00
lldmap.test COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
loadcfg.ll [COFF] Don't hard-code the load configuration size 2016-03-15 09:48:27 +00:00
loadcfg.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
loadcfg32.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
locally-imported.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
locally-imported32.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
long-section-name.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
lto-chkstk.ll
lto-comdat.ll
lto-lazy-reference.ll LTO: Don't follow lazy references when seeing new definitions in the combined LTO object 2016-10-12 09:00:06 +00:00
lto-linker-opts.ll
lto-new-symbol.ll
lto-opt-level.ll
lto-parallel.ll COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
lto.ll
machine.test
manifest.test
manifestinput.test COFF: Support /manifestinput command line option. 2016-04-19 01:21:58 +00:00
merge.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
nodefaultlib.test
noentry.test COFF: We no longer require lib.exe to test DLL exports. 2016-12-15 00:11:17 +00:00
opt.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
options.test
order.test COFF: Open and map input files asynchronously on Windows. 2016-12-15 04:02:23 +00:00
out.test Reland test change. 2016-04-21 01:33:04 +00:00
pdb.test Fix failing lld pdb test. 2017-01-20 22:57:24 +00:00
reloc-arm.test [COFF] Add support for IMAGE_REL_ARM_SECREL 2016-09-27 19:27:17 +00:00
reloc-x64.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
reloc-x86.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
resource.test
responsefile.test
rsds.test test: adjust the GUID 2016-09-09 19:41:46 +00:00
safeseh.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
section.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
seh.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
sort-debug.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
stack.test
subsystem-inference.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
subsystem.test
symtab.test COFF: New symbol table design. 2016-12-09 21:55:24 +00:00
tls.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
tls32.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
unwind.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
version.test
weak-external.test COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
weak-external2.test [yaml2obj] Updating LLD tests to account for LLVM r273915 2016-06-27 20:17:08 +00:00
weak-external3.test COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00