[scudo] Use stdint types for internal scudo types
authorKostya Kortchinsky <kostyak@google.com>
Sun, 15 Aug 2021 16:09:46 +0000 (09:09 -0700)
committerKostya Kortchinsky <kostyak@google.com>
Mon, 16 Aug 2021 17:52:56 +0000 (10:52 -0700)
commit5fc841d8a278ea16bae457deba35d0db6b716dd6
treebd44651569f253b209bc0cd41281462035529a8c
parentb7425e956be60a73004d7ae5bb37da85872c29fb
[scudo] Use stdint types for internal scudo types

`scudo::uptr` was defined as an `unsigned long` on 32-b platform,
while a `uintptr_t` is usually defined as an `unsigned int`.
This worked, this was not consistent, particularly with regard to
format string specifiers.

As suggested by Vitaly, since we are including `stdint.h`, define
the internal `scudo` integer types to those.

Differential Revision: https://reviews.llvm.org/D108089
compiler-rt/lib/scudo/standalone/internal_defs.h