aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-12-26 18:21:34 +0000
committerDaniel Jasper <djasper@google.com>2014-12-26 18:21:34 +0000
commit2a84b690a9e2cad674f390566991a28bf440c019 (patch)
treeafed5d0981943e1dce363b4b419c07a96cec8f77
parent24227d53e0b3aedd04c5a43ec08c867e41f930ee (diff)
downloadcompiler-rt-2a84b690a9e2cad674f390566991a28bf440c019.tar.gz
Escape ? to silence GCC warning about trigraphs.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224863 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/sanitizer_common/sanitizer_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc
index e9fb8fe17..e0f92e8b5 100644
--- a/lib/sanitizer_common/sanitizer_win.cc
+++ b/lib/sanitizer_common/sanitizer_win.cc
@@ -222,7 +222,7 @@ void DumpProcessMap() {
(void *)((uptr)mi.lpBaseOfDll + mi.SizeOfImage),
got_module_name ? module_name : "[no name]");
} else if (got_module_name) {
- Printf("\t???-??? %s\n", module_name);
+ Printf("\t??\?-??? %s\n", module_name);
} else {
Printf("\t???\n");
}