mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
misc: Added utility method to allow working with stacks
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <iosfwd>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -138,6 +139,9 @@ public:
|
||||
// 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;
|
||||
|
||||
private:
|
||||
struct Entry;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user