llvm-6502/test/MC/COFF
Saleem Abdulrasool a51acc7631 MC: prevent early DCE of empty sections
Prevent the early elimination of sections in the object writer.  There may be
references to the section itself by other symbols, which may potentially not be
possible to resolve.  ML (Visual Studio's Macro Assembler) also seems to retain
empty sections.

The elimination of symbols and sections which are unused should really occur at
the link phase.  This will not cause any change in the resulting binary, simply
in the generated object files.

The adjustments to the other unit tests account for the fluctuating section
index caused by the appearance of sections which were previously discarded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210373 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-06 21:40:16 +00:00
..
alias.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
align-nops.s
bad-expr.s
basic-coff-64.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
basic-coff.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
bss_section.ll
bss.s
comm.ll
comm.s
diff.s
directive-section-characteristics.ll MC: mark COFF .drectve section as REMOVE 2014-05-21 05:15:01 +00:00
early-dce.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
eh-frame.s
feat00.s
file.s MC: place .file records into the correct section 2014-05-02 17:45:24 +00:00
global_ctors_dtors.ll Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
initialised-data.ll MC: disable test on thumbv7-windows 2014-04-23 21:55:18 +00:00
invalid-def.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
invalid-endef.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
invalid-scl-range.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
invalid-scl.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
invalid-type-range.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
invalid-type.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
ir-to-imgrel.ll
linker-options.ll
linkonce-invalid.s Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
linkonce.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
lit.local.cfg
lset0.s
module-asm.ll
offset.s Compute the correct section for zed = foo + 1 in COFF. 2014-05-01 13:37:57 +00:00
rdata.ll
relocation-imgrel.s
secidx-diagnostic.s
secidx.s
secrel32.s
secrel-variant.s
section-comdat-conflict2.s Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
section-comdat-conflict.s Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
section-comdat.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
section-invalid-flags.s
section-name-encoding.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
section.s
seh-align1.s
seh-align2.s
seh-align3.s
seh-section.s
seh.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
simple-fixups.s
switch-relocations.ll
symbol-alias.s Don't propagate StorageClass and ComplexType to aliases. 2014-05-01 19:02:03 +00:00
symbol-fragment-offset-64.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
symbol-fragment-offset.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
symbol-mangling.ll
timestamp.s
tricky-names.ll
weak-symbol.ll MC: honour IMAGE_SCN_CNT_INITIALIZED_DATA 2014-04-23 21:29:34 +00:00
weak.s