swift
stacktrace.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_MISC_STACKTRACE_H
7 #define SWIFT_MISC_STACKTRACE_H
8 
9 #include <QStringList>
10 
11 #include "misc/swiftmiscexport.h"
12 
13 namespace swift::misc
14 {
20  SWIFT_MISC_EXPORT QStringList getStackTrace();
21 
26 } // namespace swift::misc
27 
28 #endif // SWIFT_MISC_STACKTRACE_H
Free functions in swift::misc.
QStringList getStackTraceAlways()
Returns a stack trace of the current thread of execution as a list of function names.
Definition: stacktrace.cpp:130
QStringList getStackTrace()
Returns a stack trace of the current thread of execution as a list of function names.
Definition: stacktrace.cpp:39
#define SWIFT_MISC_EXPORT
Export a class or function from the library.