llvm-6502/test/MC/COFF
Hans Wennborg b74b88edac Re-commit r192758 - MC: quote tricky symbol names in asm output
The reason this got reverted was that the @feat.00 symbol which was emitted
for every TU became quoted, and on cygwin/mingw we use the gas assembler which
couldn't handle the quotes.

This commit fixes the problem by only emitting @feat.00 for win32, where we use
clang -cc1as to assemble. gas would just drop this symbol anyway, so there is no
loss there.

With @feat.00 gone, there shouldn't be quoted symbols showing up on cygwin since
it uses the Itanium ABI, which doesn't put these funny characters in symbols.

> Because of win32 mangling, we produce symbol and section names with
> funny characters in them, most notably @ characters.
>
> MC would choke on trying to parse its own assembly output. This patch addresses
> that by:
>
> - Making @ trigger quoting of symbol names
> - Also quote section names in the same way
> - Just parse section names like other identifiers (to allow for quotes)
> - Don't assume @ signifies a symbol variant if it is in a string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192859 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-17 01:13:02 +00:00
..
alias.s COFF: Emit all MCSymbols rather than filtering out some of them 2013-09-17 21:24:44 +00:00
align-nops.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
basic-coff-64.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
basic-coff.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
bss_section.ll [-cxx-abi microsoft] Stick zero initialized symbols into the .bss section for COFF 2013-08-13 01:23:53 +00:00
bss.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
comm.ll
diff.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
feat00.s COFF: Ensure that objects produced by LLVM link with /safeseh 2013-09-17 23:18:05 +00:00
global_ctors_dtors.ll Emit dtors into proper section while compiling in vcpp-compatible mode. 2012-09-23 15:53:47 +00:00
linker-options.ll [mc-coff] Forward Linker Option flags into the .drectve section 2013-04-25 19:34:41 +00:00
linkonce-invalid.s MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
linkonce.s MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
module-asm.ll Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
quoted-names.ll Re-commit r192758 - MC: quote tricky symbol names in asm output 2013-10-17 01:13:02 +00:00
rdata.ll Revert "coff also doesn't have a ReadOnlySection yet, (!)" 2013-08-08 01:50:52 +00:00
relocation-imgrel.s MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +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-invalid-flags.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
section-name-encoding.s MC: Support larger COFF string tables 2013-07-29 12:30:12 +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-section.s MC: Add .section directive to COFF 2013-07-04 21:32:07 +00:00
seh.s Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH 2013-09-15 17:46:46 +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 Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-fragment-offset-64.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-fragment-offset.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
symbol-mangling.ll
weak-symbol.ll Use proper section suffix for COFF weak symbols 2013-07-29 13:58:39 +00:00
weak.s COFF: Fix weak external aliases. 2013-04-22 18:48:56 +00:00