| 53 | #pragma comment(lib, "DbgHelp") |
| 54 | namespace cs_impl { |
| 55 | std::string cxx_demangle(const char *name) |
| 56 | { |
| 57 | char buffer[1024]; |
| 58 | DWORD length = UnDecorateSymbolName(name, buffer, sizeof(buffer), 0); |
| 59 | if (length > 0) |
| 60 | return std::string(buffer, length); |
| 61 | else |
| 62 | return name; |
| 63 | } |
| 64 | } // namespace cs_impl |
| 65 | #elif defined __GNUC__ |
| 66 |
no outgoing calls
no test coverage detected