From 94e3f387a7311b50fb649bfb9330889cc7ee24af Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 19 Apr 2026 10:01:42 -0400 Subject: [PATCH] Internals: With debug, show cwd --- src/V3Options.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/V3Options.cpp b/src/V3Options.cpp index 4d01fa1ec..b5943701b 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -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 {