diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2015-10-14 14:52:15 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2015-10-14 14:52:15 +0000 |
commit | d6f840609b50baa048d0bcef6d82eb9e75c9483e (patch) | |
tree | f60a2894e21efd5926dfab2efa0392da666f8bdf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 2432ff59d34abc680e6e3916dd938ab58f71de23 (diff) | |
download | bcm5719-llvm-d6f840609b50baa048d0bcef6d82eb9e75c9483e.tar.gz bcm5719-llvm-d6f840609b50baa048d0bcef6d82eb9e75c9483e.zip |
cmake: provide flag that enables 'log enable --stack' to provide useful file/function info on POSIX systems
Adding the following flag to a cmake line:
-DLLDB_EXPORT_ALL_SYMBOLS=TRUE
will cause all symbols to be exported from liblldb. This enables the llvm
backtrace mechanism to see and report backtrace symbols properly when using
(lldb) log enable --stack ...
Prior to this change, only the SB API symbols would show up on Linux and other
systems that use a public-symbols-based backtrace lookup mechanism.
log enable --stack ... is a very handy, quick way to understand the flow
of how some log lines are getting hit within lldb without having to hook
up a top-level debugger over your current debug session.
llvm-svn: 250299
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions