[PATCH] D58184: [scudo][standalone] Introduce platform specific code & mutexes

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 13 14:19:44 PST 2019


cryptoad updated this revision to Diff 186744.
cryptoad marked 12 inline comments as done.
cryptoad added a comment.

Address additional comments by Roland:

- `map()` now returns nullptr on error;
- New constant for max random length & associated static_assert;
- use `getenv()` on Fuchsia;
- Comments on storage vs syscall for vmar ranges;
- remove integer constants, replaced by `stdint.h`


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58184/new/

https://reviews.llvm.org/D58184

Files:
  lib/scudo/standalone/CMakeLists.txt
  lib/scudo/standalone/atomic_helpers.h
  lib/scudo/standalone/common.cc
  lib/scudo/standalone/common.h
  lib/scudo/standalone/empty.cc
  lib/scudo/standalone/fuchsia.cc
  lib/scudo/standalone/internal_defs.h
  lib/scudo/standalone/linux.cc
  lib/scudo/standalone/linux.h
  lib/scudo/standalone/mutex.h
  lib/scudo/standalone/tests/CMakeLists.txt
  lib/scudo/standalone/tests/atomic_test.cc
  lib/scudo/standalone/tests/list_test.cc
  lib/scudo/standalone/tests/map_test.cc
  lib/scudo/standalone/tests/mutex_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58184.186744.patch
Type: text/x-patch
Size: 39875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190213/c6296ae4/attachment.bin>


More information about the llvm-commits mailing list