Reland D146570 "[scudo] Switch to use MemMap in tests"
authorChia-hung Duan <chiahungduan@google.com>
Thu, 6 Apr 2023 00:08:10 +0000 (00:08 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Fri, 7 Apr 2023 03:05:56 +0000 (03:05 +0000)
commit755771045fc92da9b202118299884a25cd0942fc
treede53d11a4d7dea927cbd395f848358a262be161f
parentc3f5fd76d6d8322a33d6b526bf98d16e27456bfb
Reland D146570 "[scudo] Switch to use MemMap in tests"

This reverts commit 89cc5304969ded574550e0ad113f59f3d4f50303 and fix the
variable shadowing bug.

Differential Revision: https://reviews.llvm.org/D147672
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
compiler-rt/lib/scudo/standalone/tests/map_test.cpp
compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp