mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
Fix circular class reference %p-printing causing infinite recursion (#7106).
Fixes #7106.
This commit is contained in:
@@ -3233,6 +3233,7 @@ void AstCFunc::dump(std::ostream& str) const {
|
||||
if (isDestructor()) str << " [DTOR]";
|
||||
if (isMethod()) str << " [METHOD]";
|
||||
if (isLoose()) str << " [LOOSE]";
|
||||
if (isOverride()) str << " [OVERRIDE]";
|
||||
if (isVirtual()) str << " [VIRT]";
|
||||
if (isCoroutine()) str << " [CORO]";
|
||||
if (needProcess()) str << " [NPRC]";
|
||||
@@ -3249,6 +3250,7 @@ void AstCFunc::dumpJson(std::ostream& str) const {
|
||||
dumpJsonBoolFuncIf(str, dpiContext);
|
||||
dumpJsonBoolFuncIf(str, isConstructor);
|
||||
dumpJsonBoolFuncIf(str, isDestructor);
|
||||
dumpJsonBoolFuncIf(str, isOverride);
|
||||
dumpJsonBoolFuncIf(str, isVirtual);
|
||||
dumpJsonBoolFuncIf(str, isCoroutine);
|
||||
dumpJsonBoolFuncIf(str, needProcess);
|
||||
|
||||
Reference in New Issue
Block a user