summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-07 12:18:32 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-07 12:18:32 (GMT)
commit09b147b3a7c864c3d9c044d970235a49f3d69b7a (patch)
treed8381f3dd2fe35ba7622e007ee951062d4bcee32 /Source/kwsys/SystemInformation.hxx.in
parent726fa61b59c20ea657091fa870bf7eba77dfaa75 (diff)
parentce6eac8b58b0230cd1d8ee100a27973e5354a5c4 (diff)
downloadCMake-09b147b3a7c864c3d9c044d970235a49f3d69b7a.zip
CMake-09b147b3a7c864c3d9c044d970235a49f3d69b7a.tar.gz
CMake-09b147b3a7c864c3d9c044d970235a49f3d69b7a.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemInformation.hxx.in')
-rw-r--r--Source/kwsys/SystemInformation.hxx.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.hxx.in b/Source/kwsys/SystemInformation.hxx.in
index f7c454e..a9fd05d 100644
--- a/Source/kwsys/SystemInformation.hxx.in
+++ b/Source/kwsys/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();