diff options
| author | Kostya Serebryany <kcc@google.com> | 2014-04-14 14:51:01 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2014-04-14 14:51:01 +0000 |
| commit | bcfbea6d4ef6f1a58e2d45fa25f0042e4ee1a25d (patch) | |
| tree | 222d020941079ba3532c2e105d3c9494ebe8045f /compiler-rt/lib/sanitizer_common/sanitizer_common.h | |
| parent | 951e529f6623d74c86c2e708dabca57779ef3d9b (diff) | |
| download | bcm5719-llvm-bcfbea6d4ef6f1a58e2d45fa25f0042e4ee1a25d.tar.gz bcm5719-llvm-bcfbea6d4ef6f1a58e2d45fa25f0042e4ee1a25d.zip | |
[asan] added internal flag mmap_limit_mb
llvm-svn: 206178
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_common.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common.h b/compiler-rt/lib/sanitizer_common/sanitizer_common.h index fe79342acaa..00c686ead64 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_common.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_common.h @@ -60,6 +60,8 @@ void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type); // Used to check if we can map shadow memory to a fixed location. bool MemoryRangeIsAvailable(uptr range_start, uptr range_end); void FlushUnneededShadowMemory(uptr addr, uptr size); +void IncreaseTotalMmap(uptr size); +void DecreaseTotalMmap(uptr size); // InternalScopedBuffer can be used instead of large stack arrays to // keep frame size low. |

