[Sanitizer] enquote the module name when passing it to external symbolizer

llvm-svn: 178864
This commit is contained in:
Alexey Samsonov 2013-04-05 11:54:23 +00:00
parent f0593d67a7
commit 2a4668557f
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class ExternalSymbolizer {
char *SendCommand(bool is_data, const char *module_name, uptr module_offset) {
CHECK(module_name);
internal_snprintf(buffer_, kBufferSize, "%s%s 0x%zx\n",
internal_snprintf(buffer_, kBufferSize, "%s\"%s\" 0x%zx\n",
is_data ? "DATA " : "", module_name, module_offset);
if (!writeToSymbolizer(buffer_, internal_strlen(buffer_)))
return 0;