[PATCH] D63435: [scudo][standalone] Fuchsia related changes

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 08:42:59 PDT 2019


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

Fuchsia wants to use mutexes with PI in the Scudo code, as opposed to
our own implementation. This required making `lock` & `unlock` platform
specific (as opposed to `wait` & `wake`) [code courtesy of John
Grossman].
There is an additional flag required now for mappings as well:
`ZX_VM_ALLOW_FAULTS`.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D63435

Files:
  lib/scudo/standalone/fuchsia.cc
  lib/scudo/standalone/linux.cc
  lib/scudo/standalone/mutex.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63435.205087.patch
Type: text/x-patch
Size: 5177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/7e7da94a/attachment.bin>


More information about the llvm-commits mailing list