[PATCH] D36418: [asan] Add WriteMemoryProfile() function to measure how much dirty memory is used by shadow regions

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 15:47:44 PDT 2017


vitalybuka added inline comments.


================
Comment at: lib/asan/asan_mac.cc:88
+  }
+#define PRINT_STAT_FOR_REGION(name, beg, end)                                  \
+  {                                                                            \
----------------
Why not to make it regular functions instead of macros?


Repository:
  rL LLVM

https://reviews.llvm.org/D36418





More information about the llvm-commits mailing list