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

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 17:25:02 PST 2017


cryptoad added inline comments.


================
Comment at: lib/scudo/scudo_platform.h:67
+#elif SCUDO_SCM_DEFAULT
+typedef DefaultSizeClassMap SizeClassMap;
+#else
----------------
alekseyshl wrote:
> Why not just fold it into #else?
Well the train of thought was that the actual default might be different in the future so I wanted to have a separate #else there.


https://reviews.llvm.org/D40521





More information about the llvm-commits mailing list