summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_stacktrace_printer.h
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-01-06 21:45:05 +0000
committerKuba Mracek <mracek@apple.com>2017-01-06 21:45:05 +0000
commitd46b929d4f2835873f6559eb213145ecc66c56ee (patch)
tree432623d639a2f6876a9917bf9330a06253f8a05b /lib/sanitizer_common/sanitizer_stacktrace_printer.h
parentf752e5f2ac44590a9379a9c0e2508499be894601 (diff)
downloadcompiler-rt-d46b929d4f2835873f6559eb213145ecc66c56ee.tar.gz
[sanitizer] Use architecture/slice information when symbolizing fat Mach-O files on Darwin
This patch starts passing architecture information about a module to llvm-symbolizer and into text reports. This fixes the longstanding x86_64/x86_64h mismatch issue on Darwin. Differential Revision: https://reviews.llvm.org/D27390 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@291287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stacktrace_printer.h')
-rw-r--r--lib/sanitizer_common/sanitizer_stacktrace_printer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stacktrace_printer.h b/lib/sanitizer_common/sanitizer_stacktrace_printer.h
index 7be1d1977..ce85bd7f2 100644
--- a/lib/sanitizer_common/sanitizer_stacktrace_printer.h
+++ b/lib/sanitizer_common/sanitizer_stacktrace_printer.h
@@ -57,7 +57,8 @@ void RenderSourceLocation(InternalScopedString *buffer, const char *file,
const char *strip_path_prefix);
void RenderModuleLocation(InternalScopedString *buffer, const char *module,
- uptr offset, const char *strip_path_prefix);
+ uptr offset, ModuleArch arch,
+ const char *strip_path_prefix);
// Same as RenderFrame, but for data section (global variables).
// Accepts %s, %l from above.