[PATCH] D40322: [scudo] Overhaul hardware CRC32 feature detection

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 14:43:52 PST 2017


alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/scudo/scudo_utils.cpp:102
+unsigned long getauxval(unsigned long type);  // NOLINT
+# endif
+
----------------
I think it's worth moving this weak definition into sanitizer_common/sanitizer_getauxval.h (under proper ifdefs and comments, indeed), so everyone can can benefit from it.


https://reviews.llvm.org/D40322





More information about the llvm-commits mailing list