llvm-6502/test/MC
Rafael Espindola d605148d07 Correctly set the comdat symbol on COFF.
We extended the .section syntax to allow multiple sections with the
same name but different comdats, but currently we don't make sure that
the output section has that comdat symbol.

That happens to work with the code llc produces currently because it looks like

.section secName, "dr", one_only, "COMDATSym"
.globl COMDATSym
COMDATSym:
....

but that is not very friendly to anyone coding in assembly or even to
llc once we get comdat support in the IR.

This patch changes the coff object writer to make sure the comdat symbol is
output just after the section symbol, as required by the coff spec.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210298 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-05 23:09:25 +00:00
..
AArch64 Add missing check when MatchInstructionImpl() reports failure 2014-05-29 11:26:15 +00:00
ARM DebugInfo: Generalize some tests to handle variations in attribute ordering. 2014-05-23 21:11:46 +00:00
AsmParser MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
COFF Correctly set the comdat symbol on COFF. 2014-06-05 23:09:25 +00:00
Disassembler Restore getInvertedCondCode() from the phased-out backend, fixing disassembly for NV 2014-05-29 11:34:50 +00:00
ELF Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
MachO MachO: move test to ARM directory. 2014-05-30 16:01:29 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
Mips [mips] Fix triple. 2014-06-05 12:07:14 +00:00
PowerPC [MC] Emit an error if cfi_startproc is used before a symbol is defined. 2014-04-15 01:17:45 +00:00
Sparc TableGen: fix operand counting for aliases 2014-05-16 09:42:04 +00:00
SystemZ [SystemZ] Add support for z196 float<->unsigned conversions 2014-03-21 10:56:30 +00:00
X86 TableGen: use PrintMethods to print more aliases 2014-05-12 18:04:06 +00:00