llvm-6502/test/MC
Kevin Enderby 38fdb7d9fc Various crash reporting tools have a problem with the dwarf generated for
assembly source when it generates the TAG_subprogram dwarf debug info for
the labels that have nothing between them as in this bit of assembly source:

% cat ZeroLength.s 
_func1:
_func2:
 nop

One solution would be to not emit the subsequent labels with the same address
and use the next label with a different address or the end of the section for
the AT_high_pc value of the TAG_subprogram.

Turns out in llvm-mc it is not possible in all cases to determine of two
symbols have the same value at the point we put out the TAG_subprogram dwarf
debug info.

So we will have llvm-mc instead of putting out TAG_subprogram's put out
DW_TAG_label's.  And the DW_TAG_label does not have a AT_high_pc value which
avoids the problem.

This commit is only the functional change to make the diffs clear as to what is
really being changed.  The next commit will be to clean up the names of such
things like MCGenDwarfSubprogramEntry to something like MCGenDwarfLabelEntry.

rdar://10666925


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147860 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-10 17:52:29 +00:00
..
ARM ARM VFP assembly parsing and encoding for VCVT(float <--> fixed point). 2011-12-22 22:19:05 +00:00
AsmParser Split Finish into Finish and FinishImpl to have a common place to do end of 2012-01-07 03:13:18 +00:00
COFF Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the 2011-12-17 01:14:52 +00:00
Disassembler Add disassembler support for VPERMIL2PD and VPERMIL2PS. 2011-12-30 06:23:39 +00:00
ELF Implement cfi_restore. Patch by Brian Anderson! 2011-12-29 21:43:03 +00:00
MachO Various crash reporting tools have a problem with the dwarf generated for 2012-01-10 17:52:29 +00:00
MBlaze Teach the MBlaze asm parser how to parse special purpose register names. 2010-12-20 20:43:24 +00:00
Mips Local dynamic TLS model for direct object output. Create the correct TLS MIPS 2011-12-22 01:05:17 +00:00
X86 Make sure we correctly note the existence of an i8 immediate for vblendvps and friends, so we compute fixups correctly. PR11586. 2011-12-15 23:46:18 +00:00