llvm-project/llvm/lib/DebugInfo/DWARF
David Blaikie 7598b71488 DebugInfo: Only move types out of type units if they're named or type united
Follow up to r359122, after a bug was reported in it - the original
change too aggressively tried to move related types out of type units,
which included unnamed types (like array types) which can't reasonably
be declared-but-not-defined.

A step beyond that is that some types in type units can be anonymous, if
they are types with a name for linkage purposes (eg: "typedef struct { }
x;"). So ensure those don't get turned into plain declarations (without
signatures) because, lacking names, they can't be resolved to the
definition.

[Also include a fix for llvm-dwarfdump/libDebugInfoDWARF to pretty print
types in type units]

llvm-svn: 360458
2019-05-10 19:15:29 +00:00
..
CMakeLists.txt [DWARF] Revert r345546: Refactor range list extraction and dumping 2018-10-31 01:12:58 +00:00
DWARFAbbreviationDeclaration.cpp Revert "[DWARFFormValue] Cleanup DWARFFormValue interface. (2/2) (NFC)" 2019-03-02 01:10:00 +00:00
DWARFAcceleratorTable.cpp [DWARF] Fix dump of local/foreign TU lists in .debug_names 2019-04-29 08:55:10 +00:00
DWARFAddressRange.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFCompileUnit.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFContext.cpp [DWARF] check whether the DIE is valid before querying for information 2019-04-03 17:13:45 +00:00
DWARFDataExtractor.cpp [DWARF] Refactor RelocVisitor and fix computation of SHT_RELA-typed relocation entries 2019-03-22 02:43:11 +00:00
DWARFDebugAbbrev.cpp [DebugInfo] Fix use-after-move warning. NFCI. 2019-05-08 10:09:57 +00:00
DWARFDebugAddr.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFDebugArangeSet.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFDebugAranges.cpp Change some llvm::{lower,upper}_bound to llvm::bsearch. NFC 2019-04-17 07:58:05 +00:00
DWARFDebugFrame.cpp [DebugInfo] Fix the type of the formated variable 2019-03-07 16:31:08 +00:00
DWARFDebugInfoEntry.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFDebugLine.cpp DWARF v5: fix directory index in the line table 2019-05-06 08:03:46 +00:00
DWARFDebugLoc.cpp Change some llvm::{lower,upper}_bound to llvm::bsearch. NFC 2019-04-17 07:58:05 +00:00
DWARFDebugMacro.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFDebugPubTable.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFDebugRangeList.cpp [DebugInfo] add SectionedAddress to DebugInfo interfaces. 2019-02-27 13:17:36 +00:00
DWARFDebugRnglists.cpp [DWARF] Delete a stray break and a stray comment. NFC 2019-03-23 16:15:40 +00:00
DWARFDie.cpp DebugInfo: Only move types out of type units if they're named or type united 2019-05-10 19:15:29 +00:00
DWARFExpression.cpp [DebugInfo] Introduce DW_OP_LLVM_convert 2019-03-19 13:16:28 +00:00
DWARFFormValue.cpp DebugInfo: Only move types out of type units if they're named or type united 2019-05-10 19:15:29 +00:00
DWARFGdbIndex.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFListTable.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFTypeUnit.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DWARFUnit.cpp DebugInfo/DWARF: Minor expression simplification 2019-05-09 21:23:40 +00:00
DWARFUnitIndex.cpp Change some llvm::{lower,upper}_bound to llvm::bsearch. NFC 2019-04-17 07:58:05 +00:00
DWARFVerifier.cpp [DWARF] Use hasFileAtIndex to properly verify DWARF 5 after rL358732 2019-04-19 03:34:28 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00