unittests: fix library loading

This commit is contained in:
nillerusr
2023-04-07 13:47:43 +03:00
parent dcdcf6b733
commit 4f063c4053
9 changed files with 156 additions and 127 deletions
+1 -9
View File
@@ -429,13 +429,7 @@ void CDispCollTree::AABBTree_CreateLeafs( void )
}
}
#if COMPILER_CLANG
#define NOASAN __attribute__((no_sanitize("address")))
#else
#define NOASAN
#endif
void NOASAN CDispCollTree::AABBTree_GenerateBoxes_r( int nodeIndex, Vector *pMins, Vector *pMaxs )
void NO_ASAN CDispCollTree::AABBTree_GenerateBoxes_r( int nodeIndex, Vector *pMins, Vector *pMaxs )
{
// leaf
ClearBounds( *pMins, *pMaxs );
@@ -467,8 +461,6 @@ void NOASAN CDispCollTree::AABBTree_GenerateBoxes_r( int nodeIndex, Vector *pMin
}
}
#undef NOASAN
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------