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 408d82d commit a753c99Copy full SHA for a753c99
compiler-rt/lib/scudo/standalone/secondary.h
@@ -95,8 +95,11 @@ template <typename Config> class MapAllocatorNoCache {
95
return {};
96
}
97
void store(UNUSED Options Options, UNUSED uptr CommitBase,
98
- UNUSED uptr CommitSize, UNUSED uptr BlockBegin, MemMapT MemMap) {
99
- unmap(MemMap);
+ UNUSED uptr CommitSize, UNUSED uptr BlockBegin,
+ UNUSED MemMapT MemMap) {
100
+ // This should never be called since canCache always returns false.
101
+ UNREACHABLE(
102
+ "It is not valid to call store on MapAllocatorNoCache objects.");
103
104
105
bool canCache(UNUSED uptr Size) { return false; }
0 commit comments