llvm-6502/test
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 Change CaptureTracking to pass a Use* instead of a Value* when a value is 2011-12-28 23:24:21 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fix a bug in the legalization of shuffle vectors. When we emulate shuffles using BUILD_VECTORS we may be using a BV of different type. Make sure to cast it back. 2012-01-10 14:28:46 +00:00
DebugInfo
ExecutionEngine
Feature
Instrumentation/AddressSanitizer [asan] one more test for asan instrumentation: (*a)++ should be instrumented only once. 2012-01-04 01:02:14 +00:00
Integer
lib
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
Other
Scripts
TableGen
Transforms Enable LSR IV Chains with sufficient heuristics. 2012-01-10 01:45:08 +00:00
Unit
Verifier
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh