summaryrefslogtreecommitdiffstats
path: root/chrome_elf/elf_imports_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_elf/elf_imports_unittest.cc')
-rw-r--r--chrome_elf/elf_imports_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc
index 136912b..dda1bb1 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;
}
}