CI: Add -DVL_LEAK_CHECKS in asan builds (#6444)

This commit is contained in:
Geza Lore
2025-09-17 00:18:58 +01:00
committed by GitHub
parent 841254e9e8
commit 4ab0690428
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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");