llvm-6502/test/MC/MachO
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 Darwin assembler improved relocs when w/o subsections_via_symbols. 2011-12-07 19:46:59 +00:00
absolutize.s
comm-1.s
darwin-complex-difference.s
darwin-x86_64-diff-relocs.s Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
darwin-x86_64-nobase-relocs.s Fix a Darwin x86_64 special case of a jmp to a temporary symbol from an atom 2011-09-08 20:53:44 +00:00
darwin-x86_64-reloc-offsets.s
darwin-x86_64-reloc.s
data.s
debug_frame.s Some autoconf tests use module level inline asm to test compiler's handling of 2011-08-24 22:31:37 +00:00
dg.exp
diff-with-two-sections.s
direction_labels.s
empty-dwarf-lines.s
file.s Fixed a bug in the code to create a dwarf file and directory table entires when 2011-11-01 23:39:05 +00:00
gen-dwarf.s Various crash reporting tools have a problem with the dwarf generated for 2012-01-10 17:52:29 +00:00
indirect-symbols.s
jcc.s
lcomm-attributes.s
loc.s
pcrel-to-other-section.s
relax-jumps.s
relax-recompute-align.s
reloc-diff.s
reloc-pcrel-offset.s Darwin assembler improved relocs when w/o subsections_via_symbols. 2011-12-07 19:46:59 +00:00
reloc-pcrel.s Darwin assembler improved relocs when w/o subsections_via_symbols. 2011-12-07 19:46:59 +00:00
reloc.s
section-align-1.s
section-align-2.s
section-attributes.s
section-flags.s
string-table.s
symbol-diff.s
symbol-flags.s
symbol-indirect.s
symbols-1.s
tbss.s
tdata.s
temp-labels.s MC: Add support for disabling "temporary label" behavior. Useful for debugging 2011-03-28 22:49:15 +00:00
thread_init_func.s
tls.s
tlv-reloc.s
tlv.s
values.s
variable-errors.s MCAsmLayout: Add support for computing the symbol offset of variables. Not 2011-04-29 18:20:20 +00:00
variable-exprs.s MC: Change variable symbols to be recognized as defined, by assigning their sections based on FindAssociatedSection(). 2011-04-29 18:20:17 +00:00
weakdef.s
x86_32-optimal_nop.s
x86_32-sections.s
x86_32-symbols.s
x86_64-reloc-arithmetic.s MachOWriter: Don't crash on fixups with arithmetic, emit a relocation instead. This matches what as does. 2011-08-12 01:51:29 +00:00
x86_64-sections.s
x86_64-symbols.s
zerofill-1.s
zerofill-2.s
zerofill-3.s
zerofill-4.s
zerofill-5.s
zerofill-sect-align.s