Internals: With debug, show cwd

This commit is contained in:
Wilson Snyder 2026-04-19 10:01:42 -04:00
parent cd30c22d1c
commit 94e3f387a7
1 changed files with 4 additions and 1 deletions

View File

@ -2295,7 +2295,10 @@ void V3Options::setDebugMode(int level) {
if (!m_dumpLevel.count("tree")) m_dumpLevel["tree"] = 3; // Don't override if already set.
m_stats = true;
m_debugCheck = true;
if (level) cout << "Starting " << version() << "\n";
if (level) {
cout << "- Starting " << version() << "\n";
UINFO(1, "Current working directory (CWD) is " << V3Os::cwd());
}
}
unsigned V3Options::debugLevel(const string& tag) const VL_MT_SAFE {