Minor follow-up fix to r234150
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 6 Apr 2015 12:54:06 +0000 (12:54 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 6 Apr 2015 12:54:06 +0000 (12:54 +0000)
llvm-svn: 234151

compiler-rt/lib/sanitizer_common/sanitizer_win.cc

index e246d5aeca1645426247453ff427d1b5d48b9492..aa3123ec33241aeceaa33a92abf0789dc294a1e8 100644 (file)
@@ -243,7 +243,7 @@ void DumpProcessMap() {
     if (mi.end_address != 0) {
       Printf("\t%p-%p %s\n", mi.base_address, mi.end_address,
              mi.filepath[0] ? mi.filepath : "[no name]");
-    } else if (mi.filepath) {
+    } else if (mi.filepath[0]) {
       Printf("\t??\?-??? %s\n", mi.filepath);
     } else {
       Printf("\t???\n");