diff options
| author | Kostya Kortchinsky <kostyak@google.com> | 2019-02-26 16:47:25 +0000 |
|---|---|---|
| committer | Kostya Kortchinsky <kostyak@google.com> | 2019-02-26 16:47:25 +0000 |
| commit | 41aba567d991c2bd551c72c73b8f76f2de392984 (patch) | |
| tree | e4f3e5a5225cf3a2b327b9ffa3aaa94a06b7b767 /compiler-rt/lib/scudo/standalone/empty.cc | |
| parent | 421c6e6864fac06145b3a51d3bcdb2344479cddf (diff) | |
| download | bcm5719-llvm-41aba567d991c2bd551c72c73b8f76f2de392984.tar.gz bcm5719-llvm-41aba567d991c2bd551c72c73b8f76f2de392984.zip | |
[scudo][standalone] Introduce platform specific code & mutexes
Summary:
This CL adds the platform specific code for Fuchsia, Linux & Android,
as well as some tests related to those (more tests to come later).
While some of it is pretty much a straight port of the existing scudo &
sanitizer_common code, the memory mapping functions have been reworked
a bit to fit the limited usage scenario that Scudo has for them.
For Fuchsia, I can now track the Vmar/Vmo pair for memory mappings if
there is an intent to grow or decommit some mapping (that will be
useful for the Primary).
Reviewers: eugenis, vitalybuka, mcgrathr, phosek, flowerhack, morehouse, dmmoore415
Reviewed By: vitalybuka, morehouse
Subscribers: kcc, dvyukov, srhines, mgorny, delcypher, jfb, jdoerfert, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D58184
llvm-svn: 354895
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/empty.cc')
| -rw-r--r-- | compiler-rt/lib/scudo/standalone/empty.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler-rt/lib/scudo/standalone/empty.cc b/compiler-rt/lib/scudo/standalone/empty.cc deleted file mode 100644 index c0c21d8694b..00000000000 --- a/compiler-rt/lib/scudo/standalone/empty.cc +++ /dev/null @@ -1,10 +0,0 @@ -//===-- empty.cc ------------------------------------------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -#include "atomic_helpers.h" -#include "list.h" |

