mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmMessenger: Adopt backtrace printing functions
Move backtrace printing functions from `cmListFileBacktrace` over to `cmMessenger`, their primary caller. Thread `cmMessenger` instances through APIs needed to update other call sites.
This commit is contained in:
@@ -191,12 +191,6 @@ public:
|
||||
// This may be called only if Empty() would return false.
|
||||
cmListFileContext const& Top() const;
|
||||
|
||||
// Print the top of the backtrace.
|
||||
void PrintTitle(std::ostream& out) const;
|
||||
|
||||
// Print the call stack below the top of the backtrace.
|
||||
void PrintCallStack(std::ostream& out) const;
|
||||
|
||||
// Get the number of 'frames' in this backtrace
|
||||
size_t Depth() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user