summaryrefslogtreecommitdiffstats
path: root/SystemInformation.hxx.in
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2013-08-06 13:10:11 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-07 12:18:29 (GMT)
commitce6eac8b58b0230cd1d8ee100a27973e5354a5c4 (patch)
tree3e190e65b187a9c70ac89786eee80259f0ae8d76 /SystemInformation.hxx.in
parent0a44fa4c6c87c76d2adfa1edf68b9f2cfe2096cb (diff)
downloadCMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.zip
CMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.tar.gz
CMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.tar.bz2
KWSys 2013-08-06 (deec6b8a)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ deec6b8a | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' beef6819..deec6b8a Brad King (1): e39f85e0 SystemTools: Activate EnableMSVCDebugHook under CTest Burlen Loring (1): 1d882d4c SystemInformation : Better stack trace Patrick Gansterer (2): 89e42c36 SystemTools: Remove duplicate code for parsing Windows registry keys deec6b8a SystemTools: Add a function to get subkeys of a Windows registry key Sean McBride (1): 4c4f8a9e Supress clang warnings about dynamic exception specifications Change-Id: I37367dc5db58818d5954735e00c6d523a1dd1411
Diffstat (limited to 'SystemInformation.hxx.in')
-rw-r--r--SystemInformation.hxx.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/SystemInformation.hxx.in b/SystemInformation.hxx.in
index f7c454e..a9fd05d 100644
--- a/SystemInformation.hxx.in
+++ b/SystemInformation.hxx.in
@@ -136,6 +136,12 @@ public:
static
void SetStackTraceOnError(int enable);
+ // format and return the current program stack in a string. In
+ // order to produce an informative stack trace the application
+ // should be dynamically linked and compiled with debug symbols.
+ static
+ kwsys_stl::string GetProgramStack(int firstFrame, int wholePath);
+
/** Run the different checks */
void RunCPUCheck();
void RunOSCheck();