summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/CMakeLists.txt
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-02-27 13:53:52 -0800
committerThiago Macieira <thiago.macieira@intel.com>2024-03-27 13:47:54 -0700
commit710276ed85e8a5880ca73da149a94eb9dac49e32 (patch)
tree2089a9a1e8eb71d1e66f0f18535d973e4267cbf1 /examples/widgets/itemviews/CMakeLists.txt
parentd9f71041661146c7bea0bb0f53a14a6cbce596f3 (diff)
Logging: capture the backtrace closer to the user's entry pointHEADdev
Instead of deep inside the processing of the message pattern tokens. This reduces the number of uninlineable functions in release builds to 2. Experimentation shows that even in debug mode our overhead to backtrace() is just 2, despite the debugger's backtrace showing 3 frames -- the debugger is using QtCore's debug symbols and does know about the inlined function. As a nice side-effect, we capture the backtrace only once per message, not once per %{backtrace} token in the QT_MESSAGE_PATTERN. Change-Id: I01ec3c774d9943adb903fffd17b7d6de09167620 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'examples/widgets/itemviews/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions