Following D108014, address the -Wformat issues.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
So this turned out to be a little more complicated for 32-b.
The 'z' format specifier expects a size_t which is defined
as a unsigned int on 32-b Linux platforms, while our
scudo::uptr are defined a unsigned long. So zu wasn't
an appropriate specifier on 32-b platforms for a uptr.
This introduces a 'l' format specifier that we didn't previously
have, and replaces 'z' with 'l' for all uptr format strings.
Comment Actions
it's probably copied from sanitizer_common
I thing it should match uintptr_t like here 45138f788c9b3c4ac5d9ae4479841c411c15190e