[all-commits] [llvm/llvm-project] 902c41: [scudo] Fix memtag tests.
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Tue Jul 18 13:52:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 902c41fc800290076a107fc8c1e6d8da688bc1ae
https://github.com/llvm/llvm-project/commit/902c41fc800290076a107fc8c1e6d8da688bc1ae
Author: Christopher Ferris <cferris at google.com>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
Log Message:
-----------
[scudo] Fix memtag tests.
A few memtag tests were using EXPECT_DEBUG_DEATH which executes the
statement unless NDEBUG is set. This meant the statement would
cause an abort, but the EXPECT_DEATH part was not done. Change these
to simply EXPECT_DEATH, these tests already verify that SCUDO_DEBUG
is set before checking for DEATH.
Reviewed By: Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D155538
More information about the All-commits
mailing list