[PATCH] D40521: [scudo] Allow for compile-time choice of the SizeClassMap

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 16:19:05 PST 2017


alekseyshl accepted this revision.
alekseyshl added a comment.
This revision is now accepted and ready to land.

What's wrong with SCUDO_SCM_{DEFAULT|COMPACT|VERY_COMPACT}? If someone wants to tinker with it, they probably aware what SCM stands for and what it affects.



================
Comment at: lib/scudo/scudo_platform.h:67
+#elif SCUDO_SCM_DEFAULT
+typedef DefaultSizeClassMap SizeClassMap;
+#else
----------------
Why not just fold it into #else?


https://reviews.llvm.org/D40521





More information about the llvm-commits mailing list