diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp @@ -25,7 +25,7 @@ namespace __sanitizer { -#if SANITIZER_LINUX && !SANITIZER_ANDROID +# if SANITIZER_LINUX && !SANITIZER_ANDROID TEST(MemoryMappingLayout, CodeRange) { uptr start, end; bool res = GetCodeRangeForFile("[vdso]", &start, &end); @@ -33,7 +33,7 @@ EXPECT_GT(start, 0U); EXPECT_LT(start, end); } -#endif +# endif TEST(MemoryMappingLayout, DumpListOfModules) { const char *last_slash = strrchr(argv0, '/'); @@ -69,7 +69,8 @@ if (SANITIZER_WORDSIZE == 32) { EXPECT_EQ(arch, kModuleArchI386); } else if (SANITIZER_WORDSIZE == 64) { - EXPECT_TRUE(arch == kModuleArchX86_64 || arch == kModuleArchX86_64H || arch == kModuleArchARM64); + EXPECT_TRUE(arch == kModuleArchX86_64 || arch == kModuleArchX86_64H || + arch == kModuleArchARM64); } const u8 *uuid = modules[i].uuid(); u8 null_uuid[kModuleUUIDSize] = {0}; @@ -78,8 +79,7 @@ } } -# if (SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD || \ - SANITIZER_SOLARIS) && \ +# if (SANITIZER_LINUX || SANITIZER_NETBSD || SANITIZER_SOLARIS) && \ defined(_LP64) const char *const parse_unix_input = R"( 7fb9862f1000-7fb9862f3000 rw-p 00000000 00:00 0