diff options
author | Kuba Mracek <mracek@apple.com> | 2017-01-06 21:45:05 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2017-01-06 21:45:05 +0000 |
commit | d46b929d4f2835873f6559eb213145ecc66c56ee (patch) | |
tree | 432623d639a2f6876a9917bf9330a06253f8a05b /lib/sanitizer_common/sanitizer_stacktrace_printer.h | |
parent | f752e5f2ac44590a9379a9c0e2508499be894601 (diff) | |
download | compiler-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.h | 3 |
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. |