summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-06 13:56:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-06 13:58:11 (GMT)
commit73db89c2c2d997f6e1992dd1eab05e54792bd164 (patch)
tree2f150b4c1058743f43c586fbef07594bd808b7a4 /Source/cmListFileCache.h
parent2dabcebf3ce1b331c723055322b3fbe2e8ab482d (diff)
parent39c2feaf8c4dcb9c3a30c68a066fb70e126d7fe6 (diff)
downloadCMake-73db89c2c2d997f6e1992dd1eab05e54792bd164.zip
CMake-73db89c2c2d997f6e1992dd1eab05e54792bd164.tar.gz
CMake-73db89c2c2d997f6e1992dd1eab05e54792bd164.tar.bz2
Merge topic 'server-refactor'
39c2feaf misc: Added utility method to allow working with stacks f5d2988e server: Swapped to cm_thread impl 2636d86c utility: Added minimal std::thread drop-in d46b4ba8 server: Updated server tests to try various communication channels 08dca583 Tests: reworked server tests to allow other operation modes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1230
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 349ddef..1f9e374 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -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;