[compiler-rt] [scudo] Mark page status in getStats in secondary (PR #67588)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 14:14:18 PDT 2023


================
@@ -174,9 +174,9 @@ template <typename Config> class MapAllocatorCache {
       if (!Entry.isValid())
         continue;
       Str->append("StartBlockAddress: 0x%zx, EndBlockAddress: 0x%zx, "
-                  "BlockSize: %zu\n",
+                  "BlockSize: %zu %s\n",
----------------
cferris1000 wrote:

I know this is a really, really small nit, but could this be modified slightly so there is no whitespace at the end?

For example:

BlockSize: %zu%s\n", ..., EntryTime == 0 ? " [R]" : "");


https://github.com/llvm/llvm-project/pull/67588


More information about the llvm-commits mailing list