MCPcopy Create free account
hub / github.com/Kitware/CMake / Demangle

Method Demangle

Source/kwsys/SystemInformation.cxx:1315–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1313}
1314
1315std::string SymbolProperties::Demangle(char const* symbol) const
1316{
1317 std::string result = safes(symbol);
1318# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)
1319 int status = 0;
1320 char* demangledSymbol =
1321 abi::__cxa_demangle(symbol, nullptr, nullptr, &status);
1322 if (!status) {
1323 result = demangledSymbol;
1324 }
1325 free(demangledSymbol);
1326# else
1327 (void)symbol;
1328# endif
1329 return result;
1330}
1331
1332void SymbolProperties::Initialize(void* address)
1333{

Callers 1

SetFunctionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected