llvm-project/llvm/lib/DebugInfo
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
..
CodeView [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
DWARF DebugInfo: Only move types out of type units if they're named or type united 2019-05-10 19:15:29 +00:00
MSF Move some classes into anonymous namespaces. NFC. 2019-02-11 15:16:21 +00:00
PDB [PDB] Fix hash function used to write /src/headerblock 2019-04-29 23:09:35 +00:00
Symbolize [llvm-symbolizer] Fix section index at the end of a section 2019-04-20 13:00:09 +00:00
CMakeLists.txt
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00