[compiler-rt] 0b857c5 - Fix to D140567

Blue Gaston via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 08:50:33 PST 2023


Author: Blue Gaston
Date: 2023-01-04T09:50:27-07:00
New Revision: 0b857c568c1938a65fc796abcac80e7482048816

URL: https://github.com/llvm/llvm-project/commit/0b857c568c1938a65fc796abcac80e7482048816
DIFF: https://github.com/llvm/llvm-project/commit/0b857c568c1938a65fc796abcac80e7482048816.diff

LOG: Fix to D140567

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp
index d4cc690d85534..36c393f74cfb8 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp
@@ -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};


        


More information about the llvm-commits mailing list