Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4712)

Unified Diff: chrome_elf/elf_imports_unittest.cc

Issue 974903002: Add ASan MD RTL to the list of valid imports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698