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 macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
comm-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-complex-difference.s MC/Expr: Implemnt more aggressive folding during symbol evaluation using 2010-12-17 05:50:33 +00:00
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 macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
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 Fix absolute recording of differences of symbols in two sections. Reduced from ctor_dtor_count-2.cpp. 2010-12-07 17:12:32 +00:00
direction_labels.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
empty-dwarf-lines.s Second try at making direct object emission produce the same results 2010-12-06 17:27:56 +00:00
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 macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
jcc.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
lcomm-attributes.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
loc.s Add reduced test from 8845. 2010-12-22 21:15:13 +00:00
pcrel-to-other-section.s Fix pcrel relocations that cross sections. 2010-12-07 03:50:14 +00:00
relax-jumps.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
relax-recompute-align.s Relax alignment fragments. 2010-12-15 08:45:53 +00:00
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 macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-attributes.s MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have 2011-03-17 16:25:24 +00:00
section-flags.s
string-table.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-diff.s Fix a crash reduced from gcc produced assembly. 2010-12-07 01:09:54 +00:00
symbol-flags.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-indirect.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbols-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tbss.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tdata.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
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 Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
tls.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
values.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
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 Fix relocations with weak definitions. 2010-12-07 05:57:28 +00:00
x86_32-optimal_nop.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_32-sections.s
x86_32-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
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 macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-3.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-4.s
zerofill-5.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-sect-align.s