Index: chrome_elf/elf_imports_unittest.cc |
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc |
index 136912beac9908aae07947872e687127385a23b1..dda1bb122df5dace48a4976830e665ab88d9df89 100644 |
--- a/chrome_elf/elf_imports_unittest.cc |
+++ b/chrome_elf/elf_imports_unittest.cc |
@@ -66,6 +66,9 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { |
#if defined(SYZYASAN) |
"syzyasan_rtl.dll", |
#endif |
+#if defined(ADDRESS_SANITIZER) && defined(COMPONENT_BUILD) |
+ "clang_rt.asan_dynamic-i386.dll", |
+#endif |
"ADVAPI32.dll" |
}; |
@@ -76,7 +79,7 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { |
if (MatchPattern(*it, kValidFilePatterns[i])) |
match = true; |
} |
- ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll."; |
+ ASSERT_TRUE(match) << "Illegal import in chrome_elf.dll: " << *it; |
} |
} |