diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-09-25 20:48:51 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-09-25 20:48:51 +0000 |
commit | 2c712e9928756c94d307e61bd0b486b473fd81af (patch) | |
tree | d12cfa2c23cd15592555933e2c91ffee0795ab8f /lib/sanitizer_common/sanitizer_win.h | |
parent | 9230e83455810a9967796d00ac39cfe8d22bb8ef (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_win.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_win.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_win.h b/lib/sanitizer_common/sanitizer_win.h index 515792054..23e01ab75 100644 --- a/lib/sanitizer_common/sanitizer_win.h +++ b/lib/sanitizer_common/sanitizer_win.h @@ -20,7 +20,6 @@ namespace __sanitizer { // Check based on flags if we should handle the exception. bool IsHandledDeadlyException(DWORD exceptionCode); -struct MemoryMappingLayoutData {}; } // namespace __sanitizer #endif // SANITIZER_WINDOWS |