We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a921f2a commit f71ba7dCopy full SHA for f71ba7d
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -106,8 +106,8 @@ struct TestAllocatorStorage {
106
107
// To alleviate some problem, let's skip the thread safety analysis here.
108
static void *get(size_t size) NO_THREAD_SAFETY_ANALYSIS {
109
- assert(size <= kMaxSize &&
110
- "Allocation size doesn't fit in the allocator storage");
+ CHECK(size <= kMaxSize &&
+ "Allocation size doesn't fit in the allocator storage");
111
M.lock();
112
return AllocatorStorage;
113
}
0 commit comments