From f6f13c7fda71cacf1ae61c8901bcd1a395b58a38 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 18 Oct 2022 21:17:52 -0400 Subject: [PATCH] Internals: Comment out debug that may flag ASAN problem (#3574) --- src/V3Ast.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/V3Ast.cpp b/src/V3Ast.cpp index 0c9f0442b..20652b369 100644 --- a/src/V3Ast.cpp +++ b/src/V3Ast.cpp @@ -1075,9 +1075,10 @@ void AstNode::dumpPtrs(std::ostream& os) const { if (user5p()) os << " user5p=" << cvtToHex(user5p()); if (m_iterpp) { os << " iterpp=" << cvtToHex(m_iterpp); - os << "*=" << cvtToHex(*m_iterpp); + // This may cause address sanitizer failures as iterpp can be stale + // os << "*=" << cvtToHex(*m_iterpp); } - os << endl; + os << std::endl; } void AstNode::dumpTree(std::ostream& os, const string& indent, int maxDepth) const {