forked from OSchip/llvm-project
[scudo] Fix test on arch without MTE
This commit is contained in:
parent
6fd963ab64
commit
35e1dbd189
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue