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

Method PushStackFrame

Source/cmDebuggerThread.cxx:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void cmDebuggerThread::PushStackFrame(cmMakefile* mf,
29 std::string const& sourcePath,
30 cmListFileFunction const& lff)
31{
32 std::unique_lock<std::mutex> lock(Mutex);
33 Frames.emplace_back(
34 std::make_shared<cmDebuggerStackFrame>(mf, sourcePath, lff));
35 FrameMap.insert({ Frames.back()->GetId(), Frames.back() });
36}
37
38void cmDebuggerThread::PopStackFrame()
39{

Callers 3

OnBeginFunctionCallMethod · 0.80
OnBeginFileParseMethod · 0.80

Calls 4

emplace_backMethod · 0.80
insertMethod · 0.45
GetIdMethod · 0.45
backMethod · 0.45

Tested by 1