[lldb-dev] Can't use template aliases in LLDB

Ed Maste emaste at freebsd.org
Wed Feb 18 10:41:39 PST 2015


On 18 February 2015 at 13:21,  <jingham at apple.com> wrote:
> That code is actually from a copy of the llvm cxa_demangle.cpp (look at the comment around line 33 of that file.
>
> We had to include this because the demangler that shipped with the system for certain OS X releases crashed for some bad input.  We couldn't get a fix into the OS right away, so we put a fixed version into lldb.  You will only use it if you define LLDB_USE_BUILTIN_DEMANGLER, presumably you wouldn't do that on Windows.

As an aside, we also use this on FreeBSD, as the system demangler
currently has some shortcomings and fails to demangle certain sysmbols
(but doesn't crash, at least).




More information about the lldb-dev mailing list