forked from OSchip/llvm-project
parent
74ac023cf6
commit
a2ccbf0f85
|
@ -993,7 +993,8 @@ void DIDescriptor::dump() const {
|
|||
void DIDescriptor::print(raw_ostream &OS) const {
|
||||
if (!DbgNode) return;
|
||||
|
||||
OS << "[" << dwarf::TagString(getTag()) << ']';
|
||||
if (const char *Tag = dwarf::TagString(getTag()))
|
||||
OS << "[ " << Tag << " ]";
|
||||
|
||||
if (this->isSubrange()) {
|
||||
DISubrange(DbgNode).printInternal(OS);
|
||||
|
|
Loading…
Reference in New Issue