diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-09-19 15:59:01 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-09-19 15:59:01 +0000 |
commit | 96f3c80a994d3fe69f79e398b736a46801784524 (patch) | |
tree | 62061d345bd72c22d4692141e52de2f7726c171a /lib/sanitizer_common/sanitizer_posix.cc | |
parent | 4b894fcf964a7203571795aec0ccef622f8c14d3 (diff) |
[compiler-rt] Add support for the dynamic shadow allocation
Summary:
This patch is adding the needed code to compiler-rt to support
dynamic shadow.
This is to support this patch:
https://reviews.llvm.org/D23354
It's adding support for using a shadow placed at a dynamic address determined
at runtime.
The dynamic shadow is required to work on windows 64-bits.
Reviewers: rnk, kcc, vitalybuka
Subscribers: kubabrecka, dberris, llvm-commits, chrisha
Differential Revision: https://reviews.llvm.org/D23363
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@281909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_posix.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_posix.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_posix.cc b/lib/sanitizer_common/sanitizer_posix.cc index c70d5a40c..e00f2a929 100644 --- a/lib/sanitizer_common/sanitizer_posix.cc +++ b/lib/sanitizer_common/sanitizer_posix.cc @@ -358,6 +358,11 @@ SignalContext SignalContext::Create(void *siginfo, void *context) { return SignalContext(context, addr, pc, sp, bp, is_memory_access, write_flag); } +uptr FindAvailableMemoryRange(uptr size, uptr alignment, uptr left_padding) { + CHECK("FindAvailableMemoryRange is not available" && 0); + return 0; +} + } // namespace __sanitizer #endif // SANITIZER_POSIX |