[PATCH] D65660: [scudo][standalone] Minor corrections

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 08:04:33 PDT 2019


cryptoad created this revision.
cryptoad added reviewers: eugenis, vitalybuka, morehouse, hctim.
Herald added subscribers: Sanitizers, delcypher.
Herald added projects: LLVM, Sanitizers.

Few corrections with no functional change:

- replacing `%zd` with `%zu` all around: the values are unsigned
- prefer `MAP_ANONYMOUS` to `MAP_ANON` (it's deprecated)
- remove the unused `enum LinkerInitialized`
- mark a parameter as `UNUSED` in Fuchsia's `getRandom`
- correct the casing of a variable and use `nullptr` instead of 0 for pointers in `list.h`
- reorder some `typedef` to be consistent between `signed` and `unsigned`


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D65660

Files:
  lib/scudo/standalone/fuchsia.cpp
  lib/scudo/standalone/internal_defs.h
  lib/scudo/standalone/linux.cpp
  lib/scudo/standalone/list.h
  lib/scudo/standalone/quarantine.h
  lib/scudo/standalone/secondary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65660.213051.patch
Type: text/x-patch
Size: 4303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190802/b2a8c6ca/attachment.bin>


More information about the llvm-commits mailing list