Eric Christopher
a5a7942297
Rename Unit->DwarfUnit to match the file name and make it a bit less
...
ambiguous. Reformat to match.
llvm-svn: 196838
2013-12-09 23:32:48 +00:00
David Blaikie
1ab7c2dab4
DwarfDebug/Unit: Remove another case of label recreation by storing the gnu_ranges label in the unit.
...
llvm-svn: 196793
2013-12-09 17:51:30 +00:00
David Blaikie
7d73460218
DebugInfo: Move unit begin/end labels into the unit
...
This removes another case of spooky action at a distance (building the
same label names in multiple places creating an implicit dependency
between those places) and helps pave the way for type units.
llvm-svn: 196617
2013-12-06 22:33:05 +00:00
David Blaikie
03073f747e
DebugInfo: Include the section and start-of-section label in the unit
...
This is a precursor to moving type units into the correct (debug_types)
section with comdat groups and full type unit headers.
llvm-svn: 196615
2013-12-06 22:14:48 +00:00
Eric Christopher
f8194853ff
Rename DwarfUnits to DwarfFile to help avoid some naming confusion.
...
llvm-svn: 196519
2013-12-05 18:06:10 +00:00
Eric Christopher
f8790646b2
Make RangeSpanList take a symbol for the beginning of the range
...
rather than magically making the names match.
llvm-svn: 196419
2013-12-04 22:04:50 +00:00
Eric Christopher
270ba4a5d3
Use move and stack allocation for RangeSpanLists. As a result make
...
a few things more const as well because we're now using const
references to refer to iterators.
llvm-svn: 196398
2013-12-04 19:06:58 +00:00
Eric Christopher
0f63d06d64
Make ranges and range lists be a discrete entity that can be located
...
and emitted per function and CU. Begins coalescing ranges as a first
class entity through debug info. No functional change.
llvm-svn: 196178
2013-12-03 00:45:45 +00:00
David Blaikie
2a80e4426c
DebugInfo: Rename generic unit references to "TheU" instead of TheCU now that they might be type units instead of compile units.
...
CR feedback from Eric Christopher on r196139.
llvm-svn: 196159
2013-12-02 22:09:48 +00:00
David Blaikie
2c86a72331
DebugInfo: Rename DwarfCompileUnit.* to DwarfUnit.* to match their contents.
...
llvm-svn: 196140
2013-12-02 19:33:15 +00:00