[NFC] Remove unused function.

Differential Revision: https://reviews.llvm.org/D85944
This commit is contained in:
Chris Kennelly 2020-08-13 21:16:46 -04:00 committed by Hubert Tong
parent 6b66f21446
commit 800f0eda5b
1 changed files with 0 additions and 4 deletions

View File

@ -29,10 +29,6 @@ static const char kShadowMemoryMappingHint[] =
"HINT: if %s is not supported in your environment, you may set "
"TSAN_OPTIONS=%s=0\n";
static void NoHugePagesInShadow(uptr addr, uptr size) {
SetShadowRegionHugePageMode(addr, size);
}
static void DontDumpShadow(uptr addr, uptr size) {
if (common_flags()->use_madv_dontdump)
if (!DontDumpShadowMemory(addr, size)) {