From 94427a1b000344b24948374953a099571901a2ed Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 26 Oct 2015 14:13:10 +0000 Subject: 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 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- sal/inc/internal/misc.hxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sal/inc/internal/misc.hxx (limited to 'sal/inc') 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 + +/// Build a debugging backtrace from current PC location. +rtl_uString *osl_backtraceAsString(void); + +#endif // INCLUDED_SAL_INC_INTERNAL_MISC_H + -- cgit