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
This commit is contained in:
Ed Maste 2013-10-31 17:42:32 +00:00
parent ac501f0250
commit 3606da2614
1 changed files with 1 additions and 1 deletions

View File

@ -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>