summaryrefslogtreecommitdiffstats
path: root/chrome_elf
diff options
context:
space:
mode:
authorchrisha@google.com <chrisha@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 15:08:04 +0000
committerchrisha@google.com <chrisha@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 15:08:04 +0000
commitaee2f33ce1dc427fd3b47d8e17f3634ce21f5387 (patch)
treedb20a34a10414e96c320c3ab61c98ecce1cffab0 /chrome_elf
parent0dcb85a5be580fc9754d8dd0f9615b9a3e0b30f0 (diff)
downloadchromium_src-aee2f33ce1dc427fd3b47d8e17f3634ce21f5387.zip
chromium_src-aee2f33ce1dc427fd3b47d8e17f3634ce21f5387.tar.gz
chromium_src-aee2f33ce1dc427fd3b47d8e17f3634ce21f5387.tar.bz2
Use SYZYASAN instead of ADDRESS_SANITIZER.
We've seen different failure related to the fact that we use the same flag without providing the same API and functionality. BUG= TBR=jamesr Review URL: https://codereview.chromium.org/212643015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_elf')
-rw-r--r--chrome_elf/elf_imports_unittest.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc
index c4b9dd4..136912b 100644
--- a/chrome_elf/elf_imports_unittest.cc
+++ b/chrome_elf/elf_imports_unittest.cc
@@ -61,12 +61,13 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) {
std::vector<std::string>::iterator it(elf_imports.begin());
static const char* const kValidFilePatterns[] = {
- "KERNEL32.dll",
- "MSVC*",
-#if defined(ADDRESS_SANITIZER)
- "syzyasan_rtl.dll",
+ "KERNEL32.dll",
+ "MSVC*",
+#if defined(SYZYASAN)
+ "syzyasan_rtl.dll",
#endif
- "ADVAPI32.dll"};
+ "ADVAPI32.dll"
+ };
// Make sure all of ELF's imports are in the valid imports list.
for (; it != elf_imports.end(); it++) {