[compiler-rt] a6e5a4b - [NFC][scudo] Re-enable check in the test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri May 28 02:01:06 PDT 2021
Author: Vitaly Buka
Date: 2021-05-28T01:57:55-07:00
New Revision: a6e5a4b464bebb60f4fdfc27700aa37bbfa3fc54
URL: https://github.com/llvm/llvm-project/commit/a6e5a4b464bebb60f4fdfc27700aa37bbfa3fc54
DIFF: https://github.com/llvm/llvm-project/commit/a6e5a4b464bebb60f4fdfc27700aa37bbfa3fc54.diff
LOG: [NFC][scudo] Re-enable check in the test
It should pass with patched QEMU.
Added:
Modified:
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
index eb3a5bceca93..d8184a72361f 100644
--- a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
@@ -43,8 +43,7 @@ TEST(ScudoCommonTest, SKIP_ON_FUCHSIA(ResidentMemorySize)) {
EXPECT_GT(getResidentMemorySize() - OnStart, Size - Threshold);
releasePagesToOS((uptr)P, 0, Size, &Data);
- // FIXME: does not work with QEMU-user.
- // EXPECT_LT(getResidentMemorySize() - OnStart, Threshold);
+ EXPECT_LT(getResidentMemorySize() - OnStart, Threshold);
memset(P, 1, Size);
EXPECT_GT(getResidentMemorySize() - OnStart, Size - Threshold);
More information about the llvm-commits
mailing list