Fuchsia uses zx_system_get_features in lieu of getauxval. Use this call when checking for CRC32 support.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
compiler-rt/lib/scudo/scudo_utils.cpp | ||
---|---|---|
26 ↗ | (On Diff #143362) | I would move this in the arm #if with an else for the rest, so we don't even have to include getauxval. |
118 ↗ | (On Diff #143362) | Same here, I would move this under the arm #if, as a whole function, and put all the rest in the #else. |
119 ↗ | (On Diff #143362) | We could probably use u32 here instead for consistency. |
compiler-rt/lib/scudo/scudo_utils.cpp | ||
---|---|---|
25 ↗ | (On Diff #143387) | I actually find the nested preprocessor if/elses a little trickier to read, personally o.o;;; but, made the changes! |
Comment Actions
Sorry, you were right! The initial version was less complicated.
I'm updating this to fallback to it, with the style changes included.