llvm-6502/lib
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
..
Analysis Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
Archive Support/FileSystem: Add file_magic and move a vew clients over to it. 2011-12-13 23:17:12 +00:00
AsmParser Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
Bitcode Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
CodeGen Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
DebugInfo Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
ExecutionEngine Fix typo in string 2012-01-06 07:49:17 +00:00
Linker Link symbols with different visibilities according to the rules in the 2012-01-05 23:02:01 +00:00
MC Various crash reporting tools have a problem with the dwarf generated for 2012-01-10 17:52:29 +00:00
Object Remove unused variables. 2011-12-25 01:20:19 +00:00
Support Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
TableGen TableGen: add a comment 2011-12-22 23:16:09 +00:00
Target Add definition for intel asm variant. 2012-01-10 17:51:54 +00:00
Transforms Enable LSR IV Chains with sufficient heuristics. 2012-01-10 01:45:08 +00:00
VMCore Remove unnecessary default cases in switches that cover all enum values. 2012-01-10 16:47:17 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile