[compiler-rt] r178864 - [Sanitizer] enquote the module name when passing it to external symbolizer
Alexey Samsonov
samsonov at google.com
Fri Apr 5 04:54:24 PDT 2013
Author: samsonov
Date: Fri Apr 5 06:54:23 2013
New Revision: 178864
URL: http://llvm.org/viewvc/llvm-project?rev=178864&view=rev
Log:
[Sanitizer] enquote the module name when passing it to external symbolizer
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc?rev=178864&r1=178863&r2=178864&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc Fri Apr 5 06:54:23 2013
@@ -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;
More information about the llvm-commits
mailing list