23 #define WIN32_LEAN_AND_MEAN
39 std::string demangled_name = std::string(
name);
43 char* demangled =
nullptr;
45 demangled = abi::__cxa_demangle(
name,
nullptr,
nullptr, &status);
47 demangled_name = (status == 0) ? std::string(demangled) : std::string(
name);
52 char undecorated_name[1024];
54 if (UnDecorateSymbolName(
55 name, undecorated_name,
sizeof(undecorated_name),
59 demangled_name = std::string(undecorated_name);
64 return demangled_name;