diff --git a/compiler-rt/lib/scudo/standalone/secondary.h b/compiler-rt/lib/scudo/standalone/secondary.h --- a/compiler-rt/lib/scudo/standalone/secondary.h +++ b/compiler-rt/lib/scudo/standalone/secondary.h @@ -64,7 +64,7 @@ } // namespace LargeBlock -static void unmap(LargeBlock::Header *H) { +static inline void unmap(LargeBlock::Header *H) { // Note that the `H->MapMap` is stored on the pages managed by itself. Take // over the ownership before unmap() so that any operation along with unmap() // won't touch inaccessible pages.