[compiler-rt] 800f0ed - [NFC] Remove unused function.
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 13 18:20:23 PDT 2020
Author: Chris Kennelly
Date: 2020-08-13T21:20:15-04:00
New Revision: 800f0eda5b15eb36339336947a601b942d8735a4
URL: https://github.com/llvm/llvm-project/commit/800f0eda5b15eb36339336947a601b942d8735a4
DIFF: https://github.com/llvm/llvm-project/commit/800f0eda5b15eb36339336947a601b942d8735a4.diff
LOG: [NFC] Remove unused function.
Differential Revision: https://reviews.llvm.org/D85944
Added:
Modified:
compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp b/compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
index a0f9beb8ae1a..d56b6c3b9c54 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
+++ b/compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
@@ -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)) {
More information about the llvm-commits
mailing list