Index: lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc =================================================================== --- lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +++ lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc @@ -383,7 +383,7 @@ const char *path = common_flags()->external_symbolizer_path; const char *binary_name = path ? StripModuleName(path) : ""; if (path && path[0] == '\0') { - VReport(2, "External symbolizer is explicitly disabled.\n"); + Report("WARNING: External symbolizer is explicitly disabled.\n"); return nullptr; } else if (!internal_strcmp(binary_name, "llvm-symbolizer")) { VReport(2, "Using llvm-symbolizer at user-specified path: %s\n", path); @@ -424,6 +424,9 @@ return new(*allocator) Addr2LinePool(found_path, allocator); } } + Report("ERROR: symbolization is requested, but a symbolizer could " + "not be found: external symbolizer is not set, and there's " + "no llvm-symbolizer or addr2line in PATH\n"); return nullptr; }