summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-09-22 19:22:08 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-09-22 19:22:08 +0000
commitfeeabcf3b98ef72cdbd24c5b98db1e41ec53e219 (patch)
treef0ed06c439656501f32e37d7cf8eefa2bfd359bc /lib/sanitizer_common
parent988561edd4724ff5c78fd0a6c8a8bc3d86546f38 (diff)
Fix fuchsia builds broken by r313999
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rw-r--r--lib/sanitizer_common/sanitizer_fuchsia.h4
-rw-r--r--lib/sanitizer_common/sanitizer_procmaps.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_fuchsia.h b/lib/sanitizer_common/sanitizer_fuchsia.h
index 18821b4fd..48d7154f3 100644
--- a/lib/sanitizer_common/sanitizer_fuchsia.h
+++ b/lib/sanitizer_common/sanitizer_fuchsia.h
@@ -25,6 +25,10 @@ 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
diff --git a/lib/sanitizer_common/sanitizer_procmaps.h b/lib/sanitizer_common/sanitizer_procmaps.h
index a066cb721..395688c3e 100644
--- a/lib/sanitizer_common/sanitizer_procmaps.h
+++ b/lib/sanitizer_common/sanitizer_procmaps.h
@@ -16,6 +16,7 @@
#include "sanitizer_common.h"
#include "sanitizer_internal_defs.h"
+#include "sanitizer_fuchsia.h"
#include "sanitizer_linux.h"
#include "sanitizer_mac.h"
#include "sanitizer_mutex.h"