llvm-project/lld/test/pecoff
Rui Ueyama 61d7f97000 [PECOFF] Support COMDAT associative sections.
COFF supports a feature similar to ELF's section groups. This
patch implements it.

In ELF, section groups are identified by their names, and they are
treated somewhat differently from regular symbols. In COFF, the
feature is realized in a more straightforward way. A section can
have an annotation saying "if Nth section is linked, link this
section too."

I added a new reference type, kindAssociate. If a target atom is
coalesced away, the referring atom is removed by Resolver, so that
they are treated as a group.

Differential Revision: http://reviews.llvm.org/D4028

llvm-svn: 211106
2014-06-17 16:19:33 +00:00
..
Inputs [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
alignment.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
alternatename.test [PECOFF] Make a separate pass for /alternatename symbols. 2014-05-23 00:02:42 +00:00
associative.test [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
base-reloc.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
baseaddr.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
bss-section.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
comdat.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
common-symbol.test [PECOFF] Fix common symbol alignment. 2014-04-09 01:01:51 +00:00
dosstub.test [PECOFF] Infer subsystem from the entry point function. 2013-11-25 02:00:00 +00:00
drectve.test Revert "r193300 - [PassManager] add ReaderWriter{Native, YAML} to the Driver" 2013-10-24 18:22:16 +00:00
dynamic.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
dynamicbase.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
entry.test REQUIRES: debug doesn't actually do anything! 2013-12-20 22:01:26 +00:00
export-warning.test Add a blank line to FileCheck input. 2014-01-09 02:47:52 +00:00
export.test [PECOFF] Find symbols with @number suffix for dllexported symbols 2014-05-14 06:29:32 +00:00
exportlib.test [PECOFF] Add a test for r197803. 2014-01-09 01:11:48 +00:00
exportlib2.test [PECOFF] Resolve dllexported symbols. 2014-05-09 22:19:49 +00:00
grouped-sections.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
hello.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
help.test [PECOFF] Fix /? option and add a test for the flag. 2013-09-24 17:59:30 +00:00
imagebase.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
importlib.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
include.test [ELF] Support --defsym option to define an absolute symbol. 2014-03-28 19:02:06 +00:00
lib.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
libarg.test [PECOFF] Fix arguments passed to lib.exe. 2014-03-14 05:04:08 +00:00
localyimported.test [PECOFF] Fix _imp_ implicit symbols. 2014-04-29 00:32:00 +00:00
long-section-name.test [PECOFF] Truncate long section name. 2013-12-17 06:15:09 +00:00
machinetype.test [PECOFF] Handle objects with unknown machine type header value. 2014-03-13 05:12:36 +00:00
manifest.test [PECOFF] Add one more test for r206633. 2014-04-18 20:44:05 +00:00
merge-largest.test [PECOFF] Support yet another new type of weak symbol. 2014-03-18 19:37:50 +00:00
merge-same-size.test Add one more test for r203308. 2014-03-08 01:27:22 +00:00
multi.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
noentry.test [PECOFF] Add a test for /noentry. 2013-12-27 08:19:21 +00:00
nonstandard-sections.test [PECOFF] Writer: Remove NULL padding at the end of each section. 2013-12-11 04:06:26 +00:00
options.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
pe32plus.test [PECOFF] Discard .debug sections. 2014-05-21 05:56:31 +00:00
reloc.test [PECOFF] Fix _imp_ implicit symbols. 2014-04-29 00:32:00 +00:00
reloc64.test [PECOFF] Discard .debug sections. 2014-05-21 05:56:31 +00:00
resource.test [PECOFF] Fix the test to run. 2013-11-04 19:01:57 +00:00
responsefile.test [PECOFF] Print out command line if we have expanded response files. 2014-03-25 20:40:27 +00:00
safeseh.test [PECOFF] Add a test for /SAFESEH:NO for non-x86 machine type. 2014-02-27 00:05:43 +00:00
section-attribute.test [PECOFF] Set section characteristics based /section options. 2013-11-27 23:44:58 +00:00
section-renaming.test [PECOFF] Writer: Remove NULL padding at the end of each section. 2013-12-11 04:06:26 +00:00
seh.test [PECOFF] Discard .debug sections. 2014-05-21 05:56:31 +00:00
seh64.test [PECOFF] Sort x64 exception handler table. 2014-03-04 18:39:12 +00:00
subsystem.test [PECOFF] Infer subsystem from the entry point function. 2013-11-25 02:00:00 +00:00
trivial.test [PECOFF] Emit Load Configuration and SEH Table for x86. 2014-02-26 08:27:59 +00:00
unknown-drectve.test [PECOFF] Report error if there's unknown flag in .drectve 2013-11-05 23:53:15 +00:00
weak-external.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00