[PATCH] D60787: [scudo][standalone] Introduce the Secondary allocator

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 12:37:43 PDT 2019


cryptoad updated this revision to Diff 195620.
cryptoad added a comment.

This splits the secondary into a H & CC file since we don't need to be
header only.
Simplify some code constructs as suggested by Matt, remove some
`UNLIKELY`.
Rename `PlatformData` to `MapPlatformData`.


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D60787

Files:
  lib/scudo/standalone/CMakeLists.txt
  lib/scudo/standalone/common.h
  lib/scudo/standalone/fuchsia.cc
  lib/scudo/standalone/fuchsia.h
  lib/scudo/standalone/linux.cc
  lib/scudo/standalone/linux.h
  lib/scudo/standalone/list.h
  lib/scudo/standalone/secondary.cc
  lib/scudo/standalone/secondary.h
  lib/scudo/standalone/tests/CMakeLists.txt
  lib/scudo/standalone/tests/bytemap_test.cc
  lib/scudo/standalone/tests/map_test.cc
  lib/scudo/standalone/tests/mutex_test.cc
  lib/scudo/standalone/tests/secondary_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60787.195620.patch
Type: text/x-patch
Size: 28551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190417/5cc20f13/attachment.bin>


More information about the llvm-commits mailing list