summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
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
commit6e4dfccc31324cd65b07f5efe4274604ce89c328 (patch)
tree579198f7fa2e4e7368b7e5ed813f1a403aab5012 /compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
parentf5a4377333d34240470a65928f5ad3ce06f5c28a (diff)
downloadbcm5719-llvm-6e4dfccc31324cd65b07f5efe4274604ce89c328.tar.gz
bcm5719-llvm-6e4dfccc31324cd65b07f5efe4274604ce89c328.zip
[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 llvm-svn: 314149
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h b/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
index 48d7154f309..18821b4fd9f 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.h
@@ -25,10 +25,6 @@ namespace __sanitizer {
extern uptr MainThreadStackBase, MainThreadStackSize;
extern sanitizer_shadow_bounds_t ShadowBounds;
-// TODO(fjricci) Remove this struct by refactoring common functions
-// out of sanitizer_procmaps.h
-struct MemoryMappingLayoutData {};
-
} // namespace __sanitizer
#endif // SANITIZER_FUCHSIA
OpenPOWER on IntegriCloud