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 | 130a190bf08a3d955d9db24dac936159dc049e12 (patch) | |
| tree | 6e3e4548f1694ea453b3b3f528c5da41d586b807 /compiler-rt/lib/sanitizer_common/sanitizer_posix.cc | |
| parent | 6ba5176862dcd5a3166b275aa061ac6204fec40f (diff) | |
| download | bcm5719-llvm-130a190bf08a3d955d9db24dac936159dc049e12.tar.gz bcm5719-llvm-130a190bf08a3d955d9db24dac936159dc049e12.zip | |
[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
llvm-svn: 281909
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_posix.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_posix.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc index c70d5a40cb4..e00f2a929e9 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc +++ b/compiler-rt/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 |

