llvm-project/lld/test/COFF
Rui Ueyama 43e12900d9 COFF: Non-external COMDAT sections sholud not be merged by ICF.
If a section symbol is not external, that COMDAT section should never
be merge with other sections in other compilation unit. Previously,
we didn't take visibility into account.

Note that COMDAT sections with non-external visibility makes sense
because they can be removed by dead-stripping.

Fixes https://llvm.org/bugs/show_bug.cgi?id=25686

llvm-svn: 254578
2015-12-03 02:23:33 +00:00
..
Inputs [opaque pointer type] update test cases for explicit pointee types on global aliases 2015-09-11 03:22:12 +00:00
alternatename.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
ar-comdat.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-blx23t.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-branch24t.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-entry-point.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-imports.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-mov32t-exec.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
armnt-movt32t.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
base.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
baserel.test COFF: Align sections to 512-byte boundaries on disk. 2015-08-11 23:09:00 +00:00
common.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
conflict.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
debug.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
defparser.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
delayimports.test COFF: /delayload:<DLLNAME> is case-insensitive. 2015-09-03 14:49:47 +00:00
delayimports32.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
dll.test COFF: Improve dllexported name mangling compatibility. 2015-08-31 08:43:21 +00:00
dllorder.test COFF: Attempt to fix a flaky test. 2015-09-02 08:10:37 +00:00
driver.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
entry-inference.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
entry-inference2.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
entry-inference32.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
entry-mangled.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
entrylib.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
export-exe.test Exclude COFF/export-exe.test on non-Windows 2015-09-01 17:26:33 +00:00
export.test COFF: Preserve original spelling of DLL file name. 2015-09-02 07:27:31 +00:00
export32.test COFF: Improve dllexported name mangling compatibility. 2015-08-31 08:43:21 +00:00
failifmismatch.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
filetype.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
force.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
heap.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
hello32.test COFF: Align sections to 512-byte boundaries on disk. 2015-08-11 23:09:00 +00:00
help.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
icf-circular.test COFF: Fix ICF regression. 2015-09-20 20:19:12 +00:00
icf-circular2.test COFF: Enable ICF by default. 2015-09-16 16:41:38 +00:00
icf-different-align.test COFF: ICF should not merge sectinos if their alignments are not the same. 2015-09-25 16:50:12 +00:00
icf-local.test COFF: Non-external COMDAT sections sholud not be merged by ICF. 2015-12-03 02:23:33 +00:00
icf-simple.test COFF: /OPT should accept comma-separated multiple arguments. 2015-10-19 19:40:43 +00:00
imports-mangle.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
imports.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
include.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
include2.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
internal.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
invalid-obj.test COFF: Corrected error message if a section failed to load. 2015-09-13 20:22:22 +00:00
largeaddressaware.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
libpath.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
linkenv.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lldmap.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
loadcfg.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
loadcfg.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
loadcfg32.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
locally-imported.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
locally-imported32.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
long-section-name.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lto-chkstk.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lto-comdat.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lto-linker-opts.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lto-new-symbol.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
lto-opt-level.ll COFF: Introduce flag /opt:lldlto=N for controlling LTO optimization level. 2015-08-14 04:47:07 +00:00
lto-parallel.ll COFF: Implement parallel LTO code generation. 2015-08-28 22:16:09 +00:00
lto.ll COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
machine.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
manifest.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
merge.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
nodefaultlib.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
noentry.test This test needs lib.exe. 2015-08-13 00:03:47 +00:00
opt.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
options.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
order.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
out.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
reloc-arm.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
reloc-x64.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
reloc-x86.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
resource.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
responsefile.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
safeseh.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
seh.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
sort-debug.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
stack.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
subsystem-inference.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
subsystem.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
symtab.test COFF: Add /nosymtab command line option. 2015-09-21 23:43:31 +00:00
tls.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
tls32.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
unwind.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
version.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
weak-external.test COFF: Implement parallel LTO code generation. 2015-08-28 22:16:09 +00:00
weak-external2.test COFF: Make test commands shorter. NFC. 2015-08-06 16:47:46 +00:00
weak-external3.test COFF: Implement parallel LTO code generation. 2015-08-28 22:16:09 +00:00