[compiler-rt] r368093 - [Sanitizer] little typo
David Carlier via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 14:46:01 PDT 2019
Author: devnexen
Date: Tue Aug 6 14:46:01 2019
New Revision: 368093
URL: http://llvm.org/viewvc/llvm-project?rev=368093&view=rev
Log:
[Sanitizer] little typo
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cpp?rev=368093&r1=368092&r2=368093&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cpp (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix_libcdep.cpp Tue Aug 6 14:46:01 2019
@@ -73,7 +73,7 @@ void SetShadowRegionHugePageMode(uptr ad
if (common_flags()->no_huge_pages_for_shadow)
madvise((char *)addr, size, MADV_NOHUGEPAGE);
else
- madvise((char *)addr, size, MADV_HUGEPAGE) == 0;
+ madvise((char *)addr, size, MADV_HUGEPAGE);
#endif // MADV_NOHUGEPAGE
}
More information about the llvm-commits
mailing list