summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Mangled.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-08-04 01:36:57 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-08-04 01:36:57 +0000
commit0efe2743f8ed20188821fe23d4ea296123689ed3 (patch)
treee9a4fdce9e7d08ab26f775e9db3ab7f3d2ecc206 /lldb/source/Core/Mangled.cpp
parent10b90b45c10b2d12b71893f896caadfdb002be5f (diff)
downloadbcm5719-llvm-0efe2743f8ed20188821fe23d4ea296123689ed3.tar.gz
bcm5719-llvm-0efe2743f8ed20188821fe23d4ea296123689ed3.zip
Pull in cxa_demangle.cpp/.h from llvm's libcxxabi project. Change the namespace to lldb_cxxabiv1 for the time being.
Mangled.cpp is not wired in to call it yet. llvm-svn: 161293
Diffstat (limited to 'lldb/source/Core/Mangled.cpp')
-rw-r--r--lldb/source/Core/Mangled.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/Mangled.cpp b/lldb/source/Core/Mangled.cpp
index 200f8ba6f9a..c279cdfcdbf 100644
--- a/lldb/source/Core/Mangled.cpp
+++ b/lldb/source/Core/Mangled.cpp
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include <cxxabi.h>
+//#include "lldb/Core/cxa_demangle.h"
#include "llvm/ADT/DenseMap.h"
@@ -195,6 +196,7 @@ Mangled::GetDemangledName () const
// We didn't already mangle this name, demangle it and if all goes well
// add it to our map.
char *demangled_name = abi::__cxa_demangle (mangled_cstr, NULL, NULL, NULL);
+ //char *demangled_name = lldb_cxxabiv1::__cxa_demangle (mangled_cstr, NULL, NULL, NULL);
if (demangled_name)
{
OpenPOWER on IntegriCloud