diff options
| author | Anna Zaks <ganna@apple.com> | 2016-04-15 23:51:00 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2016-04-15 23:51:00 +0000 |
| commit | 60469e2ac0248f29afb4a9247913410ecef8ddd4 (patch) | |
| tree | b8063870995cf22546959ae8262e4e27a311c2de /compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h | |
| parent | 8a15dab3919a14c74f4774ecc94cad1c700b817f (diff) | |
| download | bcm5719-llvm-60469e2ac0248f29afb4a9247913410ecef8ddd4.tar.gz bcm5719-llvm-60469e2ac0248f29afb4a9247913410ecef8ddd4.zip | |
[sanitizers] Teach the internal demangler about Swift names
Add support for Swift names when symbolicating sanitizer traces. This is
now relevant since TSan and ASan support have been added to Swift on OS X.
Differential Revision: http://reviews.llvm.org/D19135
llvm-svn: 266494
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h index 12c70b602e2..ada059cd725 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h @@ -28,7 +28,7 @@ const char *ExtractUptr(const char *str, const char *delims, uptr *result); const char *ExtractTokenUpToDelimiter(const char *str, const char *delimiter, char **result); -const char *DemangleCXXABI(const char *name); +const char *DemangleSwiftAndCXX(const char *name); // SymbolizerTool is an interface that is implemented by individual "tools" // that can perform symbolication (external llvm-symbolizer, libbacktrace, |

