Demangle SystemStats::getStackBacktrace

The class and function names are mangled in the output of SystemStats::getStackBacktrace on Xcode. Please demangle the identifiers or alternatively add a parameter or another method to get a demangled output. Something like this:

#include <cxxabi.h>

String demangle (String name) {
    int status = -4; // some arbitrary value to eliminate the compiler warning

    // enable c++11 by passing the flag -std=c++11 to g++
    std::unique_ptr<char, void(*)(void*)> res {
        abi::__cxa_demangle (name.getCharPointer (), NULL, NULL, &status),
    return status == 0 ? res.get () : name;