commit | a25b3463477d2a825df4f656001fc07c594b35ac | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Wed Jun 06 16:15:07 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Wed Jun 06 16:15:07 2012 +0000 |
tree | 15ae5c6a5dae8377f0da8ea945f9745c16ae1b67 | |
parent | 8c53e54ef9e713953ec9495e82e5c330b96e49f3 [diff] [blame] |
[Sanitizer] Switch to common mmap/munmap routines in ASan run-time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158078 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_common.h b/lib/sanitizer_common/sanitizer_common.h index 198ed63..f602558 100644 --- a/lib/sanitizer_common/sanitizer_common.h +++ b/lib/sanitizer_common/sanitizer_common.h
@@ -28,7 +28,9 @@ int GetPid(); void RawWrite(const char *buffer); -void *MmapOrDie(uptr size); + +// Memory management +void *MmapOrDie(uptr size, const char *mem_type); void UnmapOrDie(void *addr, uptr size); void Printf(const char *format, ...);