hanchenye-llvm-project/lld/test/COFF
Joel Jones a5752e199c [lld] Add REQUIRES: x86 where needed to tests
If building lld without x86 support, tests that require that support should
be treated as unsupported, not errors.

Tested using:
  1. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64;X86'
     make check-lld
     =>
     Expected Passes    : 1406
     Unsupported Tests  : 287

  2. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64'
     make check-lld
     =>
     Expected Passes    : 410
     Unsupported Tests  : 1283

Patch by Joel Jones

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

llvm-svn: 334095
2018-06-06 13:56:51 +00:00
..
Inputs [COFF] Update CV register names. 2018-05-29 14:58:41 +00:00
alternatename.test
ar-comdat.test
arm-thumb-branch-error.s
arm-thumb-branch20-error.s [COFF] Error out if 20 bit thumb branches are out of range 2017-12-14 08:56:36 +00:00
arm64-branch-range.test [COFF] Implement the remaining ARM64 relocations 2018-05-04 06:06:27 +00:00
arm64-dynamicbase.s [COFF] Disallow -dynamicbase:no for arm and arm64 2017-12-12 19:39:13 +00:00
arm64-import2.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
arm64-magic.yaml [COFF] Add initial support for linking ARM64 binaries 2017-07-01 20:29:27 +00:00
arm64-relocs-imports.test [COFF] Implement the remaining ARM64 relocations 2018-05-04 06:06:27 +00:00
armnt-blx23t.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
armnt-branch24t.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
armnt-dynamicbase.test [COFF] Disallow -dynamicbase:no for arm and arm64 2017-12-12 19:39:13 +00:00
armnt-entry-point.test
armnt-imports.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
armnt-mov32t-exec.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
armnt-movt32t.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
associative-comdat.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
base.test
baserel.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
cl-gl.test
combined-resources.test Object: The default alignment of a section without alignment flags is 16. 2018-05-04 16:45:57 +00:00
common-alignment.test COFF: Merge .bss into .data by default. 2018-04-20 21:30:36 +00:00
common.test COFF: Merge .bss into .data by default. 2018-04-20 21:30:36 +00:00
conflict-mangled.test
conflict.test [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
constant-export.test
constant.test [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
crt-chars.test COFF: Use (name, output characteristics) as a key when grouping input sections into output sections. 2018-04-20 21:10:33 +00:00
ctors_dtors_priority.s COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
debug-dwarf.test [COFF] Clean up debug option handling 2017-12-16 00:23:24 +00:00
debug.test
def-export-stdcall.s [test] Fix a temp filename in a test from SVN r327561. NFC. 2018-03-14 20:31:31 +00:00
def-name.test Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
default-alignment.test Object: The default alignment of a section without alignment flags is 16. 2018-05-04 16:45:57 +00:00
defparser.test
delayimports-armnt.yaml COFF: Don't create unnecessary thunks. 2018-05-10 19:01:28 +00:00
delayimports-error.test
delayimports.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
delayimports32.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
dll.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
dllexport-mingw.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
dllexport.s [COFF] Keep the underscore on exported decorated stdcall functions in MSVC mode 2018-01-20 11:44:42 +00:00
dllimport-gc.test Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
driver-windows.test
driver.test Report an error if you try to link against .dll instead of .lib. 2018-03-01 23:11:30 +00:00
duplicate.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
entry-drectve.test [LLD] [COFF] Support ENTRY and SUBSYSTEM in .drectve sections 2017-11-29 20:46:13 +00:00
entry-inference.test Use error() instead of warn() to report undefined symbols. 2017-10-06 23:43:54 +00:00
entry-inference2.test
entry-inference32.test
entry-mangled.test [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
entrylib.ll [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
error-limit.test Make lld-link shout at me less. 2018-03-12 12:45:40 +00:00
export-all.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
export-arm64.yaml [COFF] Add a test for producing DLLs and import libraries for ARM64 2017-07-25 06:08:25 +00:00
export-armnt.yaml Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
export-exe.test
export.test [COFF] Allow specifying export forwarding in a def file 2018-05-09 18:19:41 +00:00
export32.test COFF: Process /merge flag as we create output sections. 2018-04-07 00:46:55 +00:00
failifmismatch.test
filename-casing.s COFF: Friendlier undefined symbol errors. 2018-04-17 23:32:33 +00:00
filetype.test
fixed.test [lld-link] Add comment explaining that /FIXED behavior is correct despite contradicting MSDN. 2018-03-30 17:17:04 +00:00
force.test COFF: Friendlier undefined symbol errors. 2018-04-17 23:32:33 +00:00
gfids-corrupt.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
gfids-fallback.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
gfids-gc.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
gfids-icf.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
guard-longjmp.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
guardcf-lto.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
guardcf.test [COFF] Don't error out on undefined references to __enclave_config 2017-12-12 08:22:29 +00:00
heap.test
hello32.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
help.test
icf-associative.test Disable GC and ICF when /debug is present 2017-11-13 18:38:25 +00:00
icf-circular.test
icf-circular2.test
icf-data.test
icf-different-align.test COFF: Allow ICFing sections with different alignments. 2018-05-14 18:36:51 +00:00
icf-executable.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
icf-local.test
icf-pdata.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
icf-simple.test [lld-link] Let /PROFILE imply /OPT:REF /OPT:NOICF /INCREMENTAL:NO /FIXED:NO 2018-03-30 17:14:50 +00:00
icf-vtables.s COFF: Allow ICF on vtable sections. 2018-05-10 23:31:58 +00:00
icf-xdata.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
ignore4217.yaml [COFF] support /ignore:4217 2017-12-28 07:02:13 +00:00
implib-name.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
imports-mangle.test
imports.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
include-lto.ll [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
include.test COFF: Fix invalid comdat sections in test cases. 2017-11-20 05:31:37 +00:00
include2.test
incremental.test [lld-link] Let /PROFILE imply /OPT:REF /OPT:NOICF /INCREMENTAL:NO /FIXED:NO 2018-03-30 17:14:50 +00:00
internal.test
invalid-debug-type.test
invalid-obj.test
largeaddressaware.test Resubmit "Write a hash of the executable into the PE timestamp fields." 2018-03-08 19:33:47 +00:00
lib.test COFF: add support for lib mode usage 2017-06-15 20:39:58 +00:00
libpath.test Do not read the same .lib file more than once. 2017-12-11 23:09:18 +00:00
linkenv.test
linkrepro-manifest.test Try to fix test on windows. 2017-10-25 05:33:28 +00:00
linkrepro-pdb.test COFF: Add type server pdb files to linkrepro tar file. 2017-10-20 19:48:26 +00:00
linkrepro-res.test COFF: Add resource files to linkrepro instead of the cvtres object file. 2017-10-16 23:15:04 +00:00
linkrepro.test
lldmap.test
loadcfg.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
loadcfg.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
loadcfg32.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
locally-imported-arm64.test Update tests for ARMNT/ARM64 reloc names 2017-11-06 07:22:17 +00:00
locally-imported-warn-multiple.s Repair Windows buildbots after r320792 2017-12-15 08:08:26 +00:00
locally-imported.test Repair Windows buildbots after r320792 2017-12-15 08:08:26 +00:00
locally-imported32.test
long-section-name.test COFF: Stop emitting a non-standard COFF symbol table into PEs. 2017-11-17 19:51:20 +00:00
lto-cache.ll COFF: Implement ThinLTO cache and cache pruning support. 2017-09-08 00:50:50 +00:00
lto-chkstk.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-comdat.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-debug-pass-arguments.ll
lto-icf.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-lazy-reference.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-linker-opts.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-new-symbol.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-opt-level.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-parallel.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto-reloc-model.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
lto.ll [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
machine.test
manifest.test lld: /manifestuac:no shouldn't disable /manifestdependency: 2017-07-26 23:38:10 +00:00
manifestinput-error.test Fix manifestinput-error.test on Windows 10. 2018-04-03 23:12:28 +00:00
manifestinput-nowarning.test Fix crbug 759265 by suppressing llvm mt warnings. 2017-09-06 01:50:36 +00:00
manifestinput.test Object: The default alignment of a section without alignment flags is 16. 2018-05-04 16:45:57 +00:00
merge.test COFF: Use (name, output characteristics) as a key when grouping input sections into output sections. 2018-04-20 21:10:33 +00:00
msvclto-archive.ll Use ErrorOS for log messages as well as error 2017-12-11 21:57:31 +00:00
msvclto-order.ll Use ErrorOS for log messages as well as error 2017-12-11 21:57:31 +00:00
msvclto.ll Use ErrorOS for log messages as well as error 2017-12-11 21:57:31 +00:00
nodefaultlib.test COFF: Friendlier undefined symbol errors. 2018-04-17 23:32:33 +00:00
noentry.test Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
opt.test [lld-link] Let /PROFILE imply /OPT:REF /OPT:NOICF /INCREMENTAL:NO /FIXED:NO 2018-03-30 17:14:50 +00:00
options.test lld-link: Implement /INTEGRITYCHECK flag 2018-05-31 13:43:02 +00:00
order-i386.test Add the /order option. 2018-01-27 00:34:46 +00:00
order.test [lld-link] Add support for /ignore:4037. 2018-03-09 12:41:04 +00:00
out.test Revert "Revert "Revert "Revert "Switch external cvtres.exe for llvm's own resource library."""" 2017-07-08 03:06:10 +00:00
output-chars.test COFF: Preserve section type when processing /section flag. 2018-04-20 21:23:16 +00:00
pdata-arm64.yaml COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
pdb-comdat.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
pdb-file-static.test [PDB] Make our PDBs look more like MS PDBs. 2018-03-23 18:43:39 +00:00
pdb-global-gc.yaml [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
pdb-global-hashes.test Resubmit [pdb] Change /DEBUG:GHASH to emit 8 byte hashes." 2018-05-17 22:55:15 +00:00
pdb-globals.test COFF: Merge .bss into .data by default. 2018-04-20 21:30:36 +00:00
pdb-heapsite.yaml [COFF] Update CV register names. 2018-05-29 14:58:41 +00:00
pdb-import-gc.yaml Disable GC and ICF when /debug is present 2017-11-13 18:38:25 +00:00
pdb-invalid-func-type.yaml [PDB] Fix linking of function symbols and local variables. 2017-08-08 18:34:44 +00:00
pdb-lib.s [PDB] Make our PDBs look more like MS PDBs. 2018-03-23 18:43:39 +00:00
pdb-linker-module.test [PDB] Make our PDBs look more like MS PDBs. 2018-03-23 18:43:39 +00:00
pdb-natvis.test [PDB] Resubmit "Support embedding natvis files in PDBs." 2018-03-23 19:57:25 +00:00
pdb-none.test [LLD COFF/PDB] Incrementally update the build id. 2017-08-15 21:31:41 +00:00
pdb-options.test Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
pdb-procid-remapping.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
pdb-publics-import.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
pdb-safeseh.yaml [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00
pdb-same-name.test [PDB] Make our PDBs look more like MS PDBs. 2018-03-23 18:43:39 +00:00
pdb-scopes.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
pdb-secrel-absolute.yaml [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00
pdb-source-lines.test Resubmit "Fix some incorrect fields in our generated PDBs." 2018-04-16 18:17:13 +00:00
pdb-symbol-types.yaml COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
pdb-thunk.yaml [COFF] Update CV register names. 2018-05-29 14:58:41 +00:00
pdb-type-server-missing.yaml [PDB] Fix test failures due to expected warning not matching actual warning text 2018-01-31 18:16:13 +00:00
pdb-type-server-simple.test [COFF] Update CV register names. 2018-05-29 14:58:41 +00:00
pdb.test Use /pdbaltpath to avoid a path length dependency. 2018-04-20 21:54:55 +00:00
reloc-arm.test COFF: Layout sections in the same order as link.exe 2018-04-04 19:15:55 +00:00
reloc-discarded-dwarf.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
reloc-discarded-early.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
reloc-discarded-early2.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
reloc-discarded.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
reloc-oob.yaml [COFF] Bounds check relocations 2017-07-13 20:29:59 +00:00
reloc-x64.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
reloc-x86.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
resource.test Object: The default alignment of a section without alignment flags is 16. 2018-05-04 16:45:57 +00:00
responsefile.test lld-link: Add --rsp-quoting= flag. 2017-09-05 23:46:45 +00:00
rsds.test COFF: Implement /pdbaltpath flag. 2018-04-17 23:28:38 +00:00
safeseh-diag-feat.test [COFF] Improve synthetic symbol handling 2017-06-26 15:39:52 +00:00
safeseh-md.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
safeseh-notable.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
safeseh.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
savetemps.ll [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
secidx-absolute.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
secrel-absolute.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
secrel-common.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
section-order.test Rename a test file. 2018-01-26 01:01:21 +00:00
section-size.s COFF: Merge .bss into .data by default. 2018-04-20 21:30:36 +00:00
section.test COFF: Preserve section type when processing /section flag. 2018-04-20 21:23:16 +00:00
seh-comdat.test COFF: Do not add symbols in discarded sections to SEH handler list. 2017-11-28 21:30:05 +00:00
seh.test
sort-debug.test Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
stack.test
string-tail-merge.s COFF: Add a flag for disabling string tail merging. 2018-05-11 22:21:36 +00:00
strtab-size.s COFF: Emit a COFF symbol table if /debug:dwarf is specified. 2017-11-21 01:14:14 +00:00
subsystem-drectve.test [LLD] [COFF] Support ENTRY and SUBSYSTEM in .drectve sections 2017-11-29 20:46:13 +00:00
subsystem-inference.test
subsystem.test
symtab.test Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228. 2018-04-17 23:28:52 +00:00
thinlto-archives.ll [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
thinlto-mangled.ll [LLD] Mark a number of x86 only tests to require x86 2017-07-18 18:40:50 +00:00
thinlto.ll [LTO] Make processing of combined module more consistent 2017-12-16 02:10:00 +00:00
timestamp.test [COFF] Add /Brepro and /TIMESTAMP options. 2018-05-17 15:11:01 +00:00
tls.test
tls32.test
undefined-symbol-cv.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
undefined-symbol.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
unwind.test COFF: Merge .xdata into .rdata by default. 2018-04-20 21:32:37 +00:00
version.test
weak-external.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
weak-external2.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
weak-external3.test [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
wholearchive.s [lld] Add REQUIRES: x86 where needed to tests 2018-06-06 13:56:51 +00:00
wx.s [COFF] Add support for /WX 2017-10-24 21:19:22 +00:00