mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 11:29:27 +00:00
If a derived type is also a composite type, print that information
too. llvm-svn: 150974
This commit is contained in:
parent
ed41b1f1ef
commit
69a0eb9258
@ -721,8 +721,13 @@ void DIType::print(raw_ostream &OS) const {
|
||||
|
||||
if (isBasicType())
|
||||
DIBasicType(DbgNode).print(OS);
|
||||
else if (isDerivedType())
|
||||
DIDerivedType(DbgNode).print(OS);
|
||||
else if (isDerivedType()) {
|
||||
DIDerivedType DTy = DIDerivedType(DbgNode);
|
||||
DTy.print(OS);
|
||||
DICompositeType CTy = getDICompositeType(DTy);
|
||||
if (CTy.Verify())
|
||||
CTy.print(OS);
|
||||
}
|
||||
else if (isCompositeType())
|
||||
DICompositeType(DbgNode).print(OS);
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user