Doc: Generalize info about -rdynamic to be not qmake specific
Pick-to: 6.4 Fixes: QTBUG-88044 Change-Id: I079cb75b5a5c32e38dec73474c967cc836d94b68 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
f9cd4a0290
commit
54e01d50f4
@ -2040,9 +2040,12 @@ void qErrnoWarning(int code, const char *msg, ...)
|
||||
\row \li \c{%{backtrace [depth=N] [separator="..."]}} \li A backtrace with the number of frames
|
||||
specified by the optional \c depth parameter (defaults to 5), and separated by the optional
|
||||
\c separator parameter (defaults to "|").
|
||||
|
||||
This expansion is available only on some platforms (currently only platfoms using glibc).
|
||||
Names are only known for exported functions. If you want to see the name of every function
|
||||
in your application, use \c{QMAKE_LFLAGS += -rdynamic}.
|
||||
in your application, make sure your application is compiled and linked with \c{-rdynamic},
|
||||
or an equivalent of it.
|
||||
|
||||
When reading backtraces, take into account that frames might be missing due to inlining or
|
||||
tail call optimization.
|
||||
\endtable
|
||||
|
Loading…
Reference in New Issue
Block a user