mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
CI: Add -DVL_LEAK_CHECKS in asan builds (#6444)
This commit is contained in:
+1
-1
@@ -353,7 +353,7 @@ void V3Broken::brokenAll(AstNetlist* nodep) {
|
||||
|
||||
// Mark every node in the tree
|
||||
const uint8_t brokenCntCurrent = s_brokenCntGlobal.get();
|
||||
nodep->foreach([brokenCntCurrent](AstNode* nodep) {
|
||||
nodep->foreach([brokenCntCurrent](AstNode* nodep) VL_NO_THREAD_SAFETY_ANALYSIS {
|
||||
#ifdef VL_LEAK_CHECKS
|
||||
UASSERT_OBJ(s_allocTable.isAllocated(nodep), nodep,
|
||||
"AstNode is in tree, but not allocated");
|
||||
|
||||
Reference in New Issue
Block a user