[all-commits] [llvm/llvm-project] 5fc841: [scudo] Use stdint types for internal scudo types

Kostya Kortchinsky via All-commits all-commits at lists.llvm.org
Mon Aug 16 10:53:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fc841d8a278ea16bae457deba35d0db6b716dd6
      https://github.com/llvm/llvm-project/commit/5fc841d8a278ea16bae457deba35d0db6b716dd6
  Author: Kostya Kortchinsky <kostyak at google.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/internal_defs.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list