llvm-6502/test/MC/COFF
David Majnemer 1c1bde666c MC: Fix MCSectionCOFF::PrintSwitchToSection
We had a few bugs:
- We were considering the GVKind instead of just looking at the section
  characteristics
- We would never print out 'y' when a section was meant to be unreadable
- We would never print out 's' when a section was meant to be shared
- We translated IMAGE_SCN_MEM_DISCARDABLE to 'n' when it should've meant
  IMAGE_SCN_LNK_REMOVE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218189 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-20 20:40:50 +00:00
..
alias.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
align-nops.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
bad-expr.s Forgot to add testcase for r198590 2014-01-21 20:39:11 +00:00
basic-coff-64.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
basic-coff.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
bss_section.ll MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
bss.s Fix known typos 2014-01-24 17:20:08 +00:00
comm.ll WinCOFF: Emit common symbols as specified in the COFF spec 2014-04-08 22:33:40 +00:00
comm.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
const-gv-with-rel-init.ll MC: Treat ReadOnlyWithRel and ReadOnlyWithRelLocal as ReadOnly for COFF 2014-09-20 07:31:46 +00:00
diff.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
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 Output .eh_frames on COFF too now that the integrated as is used on mingw. 2013-12-02 14:59:34 +00:00
feat00.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
file.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +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 WinCOFF: Transform IR expressions featuring __ImageBase into image relative relocations 2014-01-15 09:16:42 +00:00
linker-options.ll [ms-coff] Add a test for proper handling of full Windows path names in the .drectve section 2014-07-09 00:40:50 +00:00
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 Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
lset0.s MC: Let non-temporary COFF aliases be in symtab 2014-07-13 04:31:19 +00:00
module-asm.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
offset.s Compute the correct section for zed = foo + 1 in COFF. 2014-05-01 13:37:57 +00:00
rdata.ll Revert "coff also doesn't have a ReadOnlySection yet, (!)" 2013-08-08 01:50:52 +00:00
relocation-imgrel.s
secidx-diagnostic.s Fix PR18381 - print a minimal diagnostic rather than assert on unresolved .secidx target 2014-01-30 21:13:05 +00:00
secidx.s Add the .secidx test I've forgotten to svn add in 197826 2013-12-20 19:06:50 +00:00
secrel32.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
secrel-variant.s Fix section relocation for SECTIONREL32 with immediate offset. 2013-04-25 19:27:05 +00:00
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: Fix associative sections on COFF 2014-06-27 17:19:44 +00:00
section-invalid-flags.s MC: Diagnose an unexpected token in COFF .section instead of asserting 2014-08-11 18:34:43 +00:00
section-name-encoding.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
section-passthru-flags.s MC: Fix MCSectionCOFF::PrintSwitchToSection 2014-09-20 20:40:50 +00:00
section.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
seh-align1.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-align2.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-align3.s Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
seh-linkonce.s MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
seh-section.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
seh-stackalloc-zero.s Fix .seh_stackalloc 0 2014-07-01 00:42:47 +00:00
seh.s MC: prevent early DCE of empty sections 2014-06-06 21:40:16 +00:00
simple-fixups.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
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 llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
symbol-fragment-offset.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00
symbol-mangling.ll
timestamp.s Produce deterministic coff files. 2013-12-04 02:02:55 +00:00
tricky-names.ll Use simple section names for COMDAT sections on COFF. 2013-11-27 01:18:37 +00:00
weak-symbol.ll MC: honour IMAGE_SCN_CNT_INITIALIZED_DATA 2014-04-23 21:29:34 +00:00
weak.s llvm-readobj: pretty-print special COFF section names 2014-09-20 00:25:06 +00:00