[scudo] Fix test on arch without MTE

This commit is contained in:
Vitaly Buka 2021-06-24 00:07:24 -07:00
parent 6fd963ab64
commit 35e1dbd189
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ TEST(ScudoWrappersCppTest, ThreadedNew) {
// TODO: Investigate why libc sometimes crashes with tag missmatch in
// __pthread_clockjoin_ex.
std::unique_ptr<scudo::ScopedDisableMemoryTagChecks> NoTags;
if (scudo::systemSupportsMemoryTagging() && !SCUDO_ANDROID)
if (!SCUDO_ANDROID && scudo::archSupportsMemoryTagging() && scudo::systemSupportsMemoryTagging())
NoTags = std::make_unique<scudo::ScopedDisableMemoryTagChecks>();
Ready = false;