Demangling stack trace on Mac

Hi,

here you go. Note that __cxa_demangle expects the char* to be allocated with malloc, it will call realloc on it if the memory contained is too small. Thus the uniue_ptr.

Hope that helps,
Marton