diff --git a/compiler-rt/lib/scudo/standalone/common.h b/compiler-rt/lib/scudo/standalone/common.h index aa2903197ae9..b271689a9d25 100644 --- a/compiler-rt/lib/scudo/standalone/common.h +++ b/compiler-rt/lib/scudo/standalone/common.h @@ -248,6 +248,7 @@ enum class ReleaseToOS : u8 { // take. ForceFast, // Force release pages to the OS, but do it quickly and skip any // cases where a lock is held by another thread. + Last = ForceFast, // Must be set to the last entry in the enum. }; constexpr unsigned char PatternFillByte = 0xAB;