summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_fuchsia.cc
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-09-25 20:48:51 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-09-25 20:48:51 +0000
commit2c712e9928756c94d307e61bd0b486b473fd81af (patch)
treed12cfa2c23cd15592555933e2c91ffee0795ab8f /lib/sanitizer_common/sanitizer_fuchsia.cc
parent9230e83455810a9967796d00ac39cfe8d22bb8ef (diff)
[sanitizer_common] Don't provide sanitizer_procmaps API functions where not defined
Summary: Platforms that don't implement procmaps (primarily fuchsia and windows) still expose the procmaps API when including sanitizer_procmaps.h, despite not implementing the functions provided by that header. Ensure that the API is only exposed on platforms that implement it. Reviewers: vitalybuka, alekseyshl, kubamracek Subscribers: llvm-commits, krytarowski Differential Revision: https://reviews.llvm.org/D38187 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_fuchsia.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_fuchsia.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_fuchsia.cc b/lib/sanitizer_common/sanitizer_fuchsia.cc
index 708f7f0c5..21fabddb1 100644
--- a/lib/sanitizer_common/sanitizer_fuchsia.cc
+++ b/lib/sanitizer_common/sanitizer_fuchsia.cc
@@ -18,7 +18,6 @@
#include "sanitizer_common.h"
#include "sanitizer_libc.h"
#include "sanitizer_mutex.h"
-#include "sanitizer_procmaps.h"
#include "sanitizer_stacktrace.h"
#include <limits.h>