Fix to D140567
authorBlue Gaston <bgaston2@apple.com>
Wed, 4 Jan 2023 16:49:34 +0000 (09:49 -0700)
committerBlue Gaston <bgaston2@apple.com>
Wed, 4 Jan 2023 16:50:27 +0000 (09:50 -0700)
compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp

index d4cc690..36c393f 100644 (file)
@@ -69,7 +69,7 @@ TEST(MemoryMapping, LoadedModuleArchAndUUID) {
       if (SANITIZER_WORDSIZE == 32) {
         EXPECT_EQ(arch, kModuleArchI386);
       } else if (SANITIZER_WORDSIZE == 64) {
-        EXPECT_TRUE(arch == kModuleArchX86_64 || arch == kModuleArchX86_64H || kModuleArchARM64);
+        EXPECT_TRUE(arch == kModuleArchX86_64 || arch == kModuleArchX86_64H || arch == kModuleArchARM64);
       }
       const u8 *uuid = modules[i].uuid();
       u8 null_uuid[kModuleUUIDSize] = {0};