David Blaikie
4fe3c00eed
DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers
...
This commit does not complete the type units feature - there are issues
around fission support (skeletal type units, pubtypes/pubnames) and
hashing of some types including those containing references to types in
other type units.
llvm-svn: 197073
2013-12-11 21:36:27 +00:00
David Blaikie
3332d4c75f
DwarfUnit: LLVM_OVERRIDE and constify some functions
...
llvm-svn: 197072
2013-12-11 21:14:02 +00:00
Eric Christopher
4287a49913
Rename CompileUnit->DwarfCompileUnit and TypeUnit->DwarfTypeUnit for
...
clarity. No functional change.
llvm-svn: 196844
2013-12-09 23:57:44 +00:00
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
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
1c70b6795b
Fix comment.
...
llvm-svn: 196437
2013-12-05 00:13:15 +00:00
David Blaikie
6896e190cf
DwarfUnit: Correct comment by generalizing over all units, not just compilation units.
...
Code review feedback on r196394 by Paul Robinson.
llvm-svn: 196433
2013-12-04 23:39:02 +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
David Blaikie
91db9ab1b4
DebugInfo: Remove unused start/end labels for the debug_abbrevs section
...
Since we always emit only one abbrevation section (shared by all the
compilation units in this module) there's no need for a separate label
at the start of each one (and we weren't using the CU ID anyway, so
there really was only one label). Use the section label instead and drop
the wholely unused debug_abbrev_end label.
llvm-svn: 196394
2013-12-04 18:12:28 +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