mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Make sure we don't add an empty string to the stringmap
llvm-svn: 271172
This commit is contained in:
parent
a1f3014900
commit
6d741ef1bb
@ -472,7 +472,8 @@ void CVTypeDumperImpl::visitPointer(TypeLeafKind Leaf, PointerRecord &Ptr) {
|
||||
else if (Ptr.getMode() == PointerMode::Pointer)
|
||||
TypeName.append("*");
|
||||
|
||||
Name = CVTD.saveName(TypeName);
|
||||
if (!TypeName.empty())
|
||||
Name = CVTD.saveName(TypeName);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user