Internals: Add VL_MT_SAFE attribute to functions that requires locking. (#3805)

This commit is contained in:
Kamil Rakoczy
2023-03-17 20:24:15 -04:00
committed by GitHub
parent d6c5d40f9b
commit 798d7346cf
35 changed files with 185 additions and 143 deletions
+2 -2
View File
@@ -159,7 +159,7 @@ public:
AstSenTree* hybridp() const { return m_hybridp; }
// LCOV_EXCL_START // Debug code
string name() const override {
string name() const override VL_MT_STABLE {
return (cvtToHex(m_nodep) + "\\n " + cvtToStr(nodep()->typeName()));
}
string dotShape() const override { return VN_IS(m_nodep, Active) ? "doubleoctagon" : "rect"; }
@@ -182,7 +182,7 @@ public:
// LCOV_EXCL_START // Debug code
string dotShape() const override final { return "ellipse"; }
virtual string nameSuffix() const = 0;
string name() const override final {
string name() const override final VL_MT_STABLE {
return cvtToHex(m_vscp) + " " + nameSuffix() + "\\n " + m_vscp->name();
}
// LCOV_EXCL_STOP