Internals: In V3LinkDot debug, show node name prefix. No functional change.

This commit is contained in:
Wilson Snyder 2024-11-29 16:09:04 -05:00
parent 93090c56ee
commit d7893a60ca

View File

@ -2228,7 +2228,9 @@ class LinkDotResolveVisitor final : public VNVisitor {
std::ostringstream sstr;
sstr << "ds=" << names[m_dotPos];
sstr << " dse" << cvtToHex(m_dotSymp);
sstr << "(" << m_dotSymp->nodep()->typeName() << ")";
const string dsname = m_dotSymp->nodep()->name().substr(0, 8);
sstr << "(" << m_dotSymp->nodep()->typeName() << (dsname.empty() ? "" : ":") << dsname
<< ")";
if (m_dotErr) sstr << " [dotErr]";
if (m_super) sstr << " [super]";
if (m_unresolvedCell) sstr << " [unrCell]";