Coverage Report

Created: 2026-02-09 06:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmDebuggerStackFrame.cxx
Line
Count
Source
1
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2
   file LICENSE.rst or https://cmake.org/licensing for details.  */
3
#include "cmDebuggerStackFrame.h"
4
5
#include <utility>
6
7
#include "cmListFileCache.h"
8
9
namespace cmDebugger {
10
11
std::atomic<int64_t> cmDebuggerStackFrame::NextId(1);
12
13
cmDebuggerStackFrame::cmDebuggerStackFrame(cmMakefile* mf,
14
                                           std::string sourcePath,
15
                                           cmListFileFunction const& lff)
16
0
  : Id(NextId.fetch_add(1))
17
0
  , FileName(std::move(sourcePath))
18
0
  , Function(lff)
19
0
  , Makefile(mf)
20
0
{
21
0
}
22
23
int64_t cmDebuggerStackFrame::GetLine() const noexcept
24
0
{
25
0
  return this->Function.Line();
26
0
}
27
28
std::vector<cmListFileArgument> const& cmDebuggerStackFrame::GetArguments()
29
  const noexcept
30
0
{
31
0
  return this->Function.Arguments();
32
0
}
33
34
} // namespace cmDebugger