| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 196323
|
| |
|
|
| |
llvm-svn: 196304
|
| |
|
|
|
|
| |
Addressing the existense AMDGPUAsmPrinter and other subclasses of AsmPrinter
llvm-svn: 196288
|
| |
|
|
|
|
| |
It broke CodeGen/R600 tests with +Asserts.
llvm-svn: 196272
|
| |
|
|
| |
llvm-svn: 196270
|
| |
|
|
|
|
| |
into a single function. No functional change.
llvm-svn: 196181
|
| |
|
|
| |
llvm-svn: 196180
|
| |
|
|
| |
llvm-svn: 196179
|
| |
|
|
|
|
|
| |
and emitted per function and CU. Begins coalescing ranges as a first
class entity through debug info. No functional change.
llvm-svn: 196178
|
| |
|
|
| |
llvm-svn: 196168
|
| |
|
|
|
|
| |
Review feedback from Eric Christopher on r196140
llvm-svn: 196160
|
| |
|
|
|
|
|
|
| |
that they might be type units instead of compile units.
CR feedback from Eric Christopher on r196139.
llvm-svn: 196159
|
| |
|
|
| |
llvm-svn: 196140
|
| |
|
|
|
|
|
|
|
|
| |
CompileUnit/TypeUnit derived classes.
Header/cpp file rename to follow immediately - just splitting out the
commits for ease of review/reading to demonstrate that the renaming
changes are entirely mechanical.
llvm-svn: 196139
|
| |
|
|
| |
llvm-svn: 196130
|
| |
|
|
|
|
| |
This allows it to be used in TargetLoweringObjectFileImpl.cpp.
llvm-svn: 196117
|
| |
|
|
| |
llvm-svn: 195931
|
| |
|
|
|
|
|
|
| |
ARanges included even extern variables referenced by pointer non-type
template parameters even though that variable isn't part of this
compilation unit.
llvm-svn: 195895
|
| |
|
|
| |
llvm-svn: 195790
|
| |
|
|
|
|
|
| |
Since type units aren't in the CUMap, use the DwarfUnits list to iterate
over units for tasks such as accelerator table building.
llvm-svn: 195776
|
| |
|
|
|
|
| |
DwarfDebug and the style guide
llvm-svn: 195763
|
| |
|
|
|
|
|
|
|
| |
simple wrapper again.
r195698 moved the type unit checking up into getOrCreateTypeDIE so
remove the redundant check and fold the functions back together again.
llvm-svn: 195700
|
| |
|
|
|
|
| |
to a type unit.
llvm-svn: 195698
|
| |
|
|
|
|
|
|
|
|
| |
registration.
It might be possible to eventually use one data structure, but I haven't
looked at the exact criteria used for accelerator tables and pubtypes to
see if there's good reason for the differences between the two or not.
llvm-svn: 195696
|
| |
|
|
|
|
|
|
|
|
| |
This avoids the need for an extra list of SkeletonCUs and associated
cleanup while staging things to be cleaner for further type unit
improvements.
Also hopefully fixes a memory leak introduced in r195166.
llvm-svn: 195536
|
| |
|
|
|
|
|
|
|
| |
a non-relocatable number offset.
One fixme to make the ranges as discrete data structures and
have range lists explicitly represented rather than as a list of symbols.
llvm-svn: 195523
|
| |
|
|
| |
llvm-svn: 195522
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
section use the form DW_FORM_data4 whilst in Dwarf 4 and later they
use the form DW_FORM_sec_offset.
This patch updates the places where such attributes are generated to
use the appropriate form depending on the Dwarf version. The DIE entries
affected have the following tags:
DW_AT_stmt_list, DW_AT_ranges, DW_AT_location, DW_AT_GNU_pubnames,
DW_AT_GNU_pubtypes, DW_AT_GNU_addr_base, DW_AT_GNU_ranges_base
It also adds a hidden command line option "--dwarf-version=<uint>"
to llc which allows the version of Dwarf to be generated to override
what is specified in the metadata; this makes it possible to update
existing tests to check the debugging information generated for both
Dwarf 4 (the default) and Dwarf 3 using the same metadata.
Patch (slightly modified) by Keith Walker!
llvm-svn: 195391
|
| |
|
|
| |
llvm-svn: 195380
|
| |
|
|
| |
llvm-svn: 195299
|
| |
|
|
|
|
| |
DebugInfoOffset data member up with the rest of the data members.
llvm-svn: 195298
|
| |
|
|
| |
llvm-svn: 195297
|
| |
|
|
|
|
| |
Language may only be a temporary addition.
llvm-svn: 195296
|
| |
|
|
| |
llvm-svn: 195293
|
| |
|
|
|
|
| |
through findAttribute etc.
llvm-svn: 195290
|
| |
|
|
|
|
|
|
|
|
|
|
| |
While not strictly necessary (the class has an invariant that
"setDebugInfoOffset" is called before "getDebugInfoOffset" - anyone
client that actually gets the default zero offset is buggy/broken) this
is consistent with the code as originally written and the removal of the
initialization was an accident in r195166.
Suggested by Manman Ren.
llvm-svn: 195263
|
| |
|
|
|
|
|
|
| |
units disabling cross-CU sharing.
Changes suggested by Manman Ren.
llvm-svn: 195262
|
| |
|
|
|
|
|
| |
and not polymorphically deleted and they are the only thing that derive
from DIE.
llvm-svn: 195183
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Emit DW_TAG_type_units into the debug_info section using compile unit
headers. This is bogus/unusable by debuggers, but testable and provides
more isolated review.
Subsequent patches will include support for type unit headers and
emission into the debug_types section, as well as comdat grouping the
types based on their hash. Also the CompileUnit type will be renamed
'Unit' and relevant portions pulled out into respective CompileUnit and
TypeUnit types.
llvm-svn: 195166
|
| |
|
|
|
|
| |
accelarator insertion in preparation for a second use of this code from type units.
llvm-svn: 195164
|
| |
|
|
| |
llvm-svn: 195122
|
| |
|
|
| |
llvm-svn: 195121
|
| |
|
|
|
|
|
| |
we can emit various sections in any order.
No functional change.
llvm-svn: 195120
|
| |
|
|
| |
llvm-svn: 195119
|
| |
|
|
| |
llvm-svn: 195060
|
| |
|
|
| |
llvm-svn: 195059
|
| |
|
|
|
|
| |
types, and make DIType(MDNode*) explicit like all the other DI* node ctors.
llvm-svn: 195055
|
| |
|
|
| |
llvm-svn: 194981
|
| |
|
|
| |
llvm-svn: 194980
|
| |
|
|
| |
llvm-svn: 194979
|