Internals: Add some missing cfunc attribute dumps

This commit is contained in:
Wilson Snyder 2025-12-06 22:20:42 -05:00
parent 35a794687b
commit 7946e9d197
1 changed files with 4 additions and 0 deletions

View File

@ -2946,6 +2946,7 @@ void AstNodeFTask::dump(std::ostream& str) const {
if (dpiOpenParent()) str << " [DPIOPENPARENT]";
if (isExternDef()) str << " [EXTDEF]";
if (isExternProto()) str << " [EXTPROTO]";
if (isVirtual()) str << " [VIRT]";
if (prototype()) str << " [PROTOTYPE]";
if (pureVirtual()) str << " [PUREVIRTUAL]";
if (recursive()) str << " [RECURSIVE]";
@ -2953,6 +2954,7 @@ void AstNodeFTask::dump(std::ostream& str) const {
if (isStatic()) str << " [STATIC]";
if (verilogTask()) str << " [VTASK]";
if (verilogFunction()) str << " [VFUNC]";
if (needProcess()) str << " [NPRC]";
if ((dpiImport() || dpiExport()) && cname() != name()) str << " [c=" << cname() << "]";
}
bool AstNodeFTask::isPure() {
@ -2992,6 +2994,8 @@ void AstNodeFTask::dumpJson(std::ostream& str) const {
dumpJsonBoolFunc(str, dpiOpenParent);
dumpJsonBoolFunc(str, isExternDef);
dumpJsonBoolFunc(str, isExternProto);
if (isVirtual()) dumpJsonBoolFunc(str, isVirtual);
if (needProcess()) dumpJsonBoolFunc(str, needProcess);
dumpJsonBoolFunc(str, prototype);
dumpJsonBoolFunc(str, recursive);
dumpJsonBoolFunc(str, taskPublic);