summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-10-26 14:13:10 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-12-02 16:47:16 +0000
commit94427a1b000344b24948374953a099571901a2ed (patch)
treee5a7551267810f07c884f276b47991109bd118c8 /sal/inc
parent08e5fc257fa8c106be34bb034ebe5e00b6fcf711 (diff)
sal: add SAL_DEBUG_TRACE debugging API for Windows, with UNX stub.
Change-Id: I2fdbc2ac10f483eee154bdf69479ba217a91ef7f Reviewed-on: https://gerrit.libreoffice.org/19605 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/internal/misc.hxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/sal/inc/internal/misc.hxx b/sal/inc/internal/misc.hxx
new file mode 100644
index 000000000000..b93868e1baab
--- /dev/null
+++ b/sal/inc/internal/misc.hxx
@@ -0,0 +1,18 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#ifndef INCLUDED_SAL_INC_INTERNAL_MISC_H
+#define INCLUDED_SAL_INC_INTERNAL_MISC_H
+
+#include <rtl/ustring.hxx>
+
+/// Build a debugging backtrace from current PC location.
+rtl_uString *osl_backtraceAsString(void);
+
+#endif // INCLUDED_SAL_INC_INTERNAL_MISC_H
+