On 18 February 2015 at 13:21,  <jing...@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).

_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to