diff options
| author | Jason Molenda <jmolenda@apple.com> | 2013-07-03 04:52:51 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2013-07-03 04:52:51 +0000 |
| commit | 45f6b1f9357b0f1fb6092081f8610623d7eba8dc (patch) | |
| tree | 86a7861f265d9e789f602669d872f2097070d089 /lldb/source/Core/Mangled.cpp | |
| parent | 24fd7eed8adef2907c45d84eb71ddc313f8854e2 (diff) | |
| download | bcm5719-llvm-45f6b1f9357b0f1fb6092081f8610623d7eba8dc.tar.gz bcm5719-llvm-45f6b1f9357b0f1fb6092081f8610623d7eba8dc.zip | |
Remove lldb's custom copy of the C++ demangler, used only on Mac
OS X. Testsuite shows no change in results using the system runtime's
demangler.
<rdar://problem/12029914>
llvm-svn: 185510
Diffstat (limited to 'lldb/source/Core/Mangled.cpp')
| -rw-r--r-- | lldb/source/Core/Mangled.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/source/Core/Mangled.cpp b/lldb/source/Core/Mangled.cpp index e6ab0c78d9c..4655eb131a6 100644 --- a/lldb/source/Core/Mangled.cpp +++ b/lldb/source/Core/Mangled.cpp @@ -8,17 +8,9 @@ //===----------------------------------------------------------------------===// -#if defined(__APPLE__) -#define USE_BUILTIN_LIBCXXABI_DEMANGLER 1 -#endif - -#if defined(USE_BUILTIN_LIBCXXABI_DEMANGLER) -#include "lldb/Core/cxa_demangle.h" -#else // FreeBSD9-STABLE requires this to know about size_t in cxxabi.h #include <cstddef> #include <cxxabi.h> -#endif #include "llvm/ADT/DenseMap.h" @@ -207,11 +199,7 @@ Mangled::GetDemangledName () const { // We didn't already mangle this name, demangle it and if all goes well // add it to our map. -#if defined(USE_BUILTIN_LIBCXXABI_DEMANGLER) - char *demangled_name = lldb_cxxabiv1::__cxa_demangle (mangled_cstr, NULL, NULL, NULL); -#else char *demangled_name = abi::__cxa_demangle (mangled_cstr, NULL, NULL, NULL); -#endif if (demangled_name) { |

