MCPcopy Create free account
hub / github.com/GPUOpen-Tools/radeon_gpu_analyzer / Deinitialize

Method Deinitialize

external/celf/Src/CElf.cpp:1306–1328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1304
1305
1306void CElf::Deinitialize()
1307{
1308 // Iterate over the sections calling dtors.
1309 for (size_t i = 0; i < m_Sections.size(); i++)
1310 {
1311 delete m_Sections[i];
1312 }
1313
1314 m_Sections.clear();
1315#if PROGRAM_HEADER_SUPPORT
1316
1317 for (size_t i = 0; i < m_ProgramSegments.size(); i++)
1318 {
1319 delete m_ProgramSegments[i];
1320 }
1321
1322 m_ProgramSegments.clear();
1323#endif
1324 m_SectionHeaderStringTable = NULL;
1325 m_SymbolTable = NULL;
1326 m_Initialized = false;
1327 m_IsElf64 = false;
1328}

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected