summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Mangled.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-10-31 17:42:32 +0000
committerEd Maste <emaste@freebsd.org>2013-10-31 17:42:32 +0000
commit3606da2614ebafd7658e08700936d97cafa60fae (patch)
tree77837ba2f96650919f27cb2746235a5581ba1573 /lldb/source/Core/Mangled.cpp
parentac501f02507802d6b0e9644c78814fc48555cb9c (diff)
downloadbcm5719-llvm-3606da2614ebafd7658e08700936d97cafa60fae.tar.gz
bcm5719-llvm-3606da2614ebafd7658e08700936d97cafa60fae.zip
Use inlined demangler on FreeBSD
FreeBSD includes the elftoolchain project's demangler in the base system. It does not handle some unusual mangled names, so use the inlined libcxxabi one. llvm-svn: 193776
Diffstat (limited to 'lldb/source/Core/Mangled.cpp')
-rw-r--r--lldb/source/Core/Mangled.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Mangled.cpp b/lldb/source/Core/Mangled.cpp
index 8e2479df353..da27d2d35df 100644
--- a/lldb/source/Core/Mangled.cpp
+++ b/lldb/source/Core/Mangled.cpp
@@ -10,7 +10,7 @@
// FreeBSD9-STABLE requires this to know about size_t in cxxabi.h
#include <cstddef>
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined (__FreeBSD__)
#define LLDB_USE_BUILTIN_DEMANGLER
#else
#include <cxxabi.h>
OpenPOWER on IntegriCloud