mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Don't output an empty string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c3cd4d24e
commit
fc1c70a8a4
@ -1052,8 +1052,9 @@ void DIType::printInternal(raw_ostream &OS) const {
|
||||
<< ", align " << getAlignInBits()
|
||||
<< ", offset " << getOffsetInBits();
|
||||
if (isBasicType())
|
||||
OS << ", enc "
|
||||
<< dwarf::AttributeEncodingString(DIBasicType(DbgNode).getEncoding());
|
||||
if (const char *Enc =
|
||||
dwarf::AttributeEncodingString(DIBasicType(DbgNode).getEncoding()))
|
||||
OS << ", enc " << Enc;
|
||||
OS << "]";
|
||||
|
||||
if (isPrivate())
|
||||
|
Loading…
Reference in New Issue
Block a user