mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
DebugInfo: When asm printing include a '[def]' tag for tag decls that are definitions (& rename the 'fwd' tag to 'decl' for clarity)
This change is version locked with a change in Clang, so expect some transient buildbot fallout. llvm-svn: 184525
This commit is contained in:
parent
864cf3e669
commit
1761f49491
@ -1120,7 +1120,12 @@ void DIType::printInternal(raw_ostream &OS) const {
|
|||||||
OS << " [artificial]";
|
OS << " [artificial]";
|
||||||
|
|
||||||
if (isForwardDecl())
|
if (isForwardDecl())
|
||||||
OS << " [fwd]";
|
OS << " [decl]";
|
||||||
|
else if (getTag() == dwarf::DW_TAG_structure_type ||
|
||||||
|
getTag() == dwarf::DW_TAG_union_type ||
|
||||||
|
getTag() == dwarf::DW_TAG_enumeration_type ||
|
||||||
|
getTag() == dwarf::DW_TAG_class_type)
|
||||||
|
OS << " [def]";
|
||||||
if (isVector())
|
if (isVector())
|
||||||
OS << " [vector]";
|
OS << " [vector]";
|
||||||
if (isStaticMember())
|
if (isStaticMember())
|
||||||
|
Loading…
Reference in New Issue
Block a user