diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2021-02-24 11:04:47 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2021-02-24 11:36:01 -0800 |
commit | 38dfb235db19caa1aaa58c1c8153a7464b932087 (patch) | |
tree | c7d00bfe76e33f69a8df1e4e3e86562081d3e0ed /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | 17b4e695ce0ef89eac4a37df2df49d4c0e700766 (diff) | |
download | llvm-38dfb235db19caa1aaa58c1c8153a7464b932087.zip llvm-38dfb235db19caa1aaa58c1c8153a7464b932087.tar.gz llvm-38dfb235db19caa1aaa58c1c8153a7464b932087.tar.bz2 |
[lldb] Support debugging utility functions
LLDB uses utility functions to run code in the inferior for its own
internal purposes, such as reading classes from the Objective-C runtime
for example. Because these expressions should be transparent to the
user, we ignore breakpoints and unwind the stack on errors, which
makes them hard to debug.
This patch adds a new setting target.debug-utility-expression that, when
enabled, changes these options to facilitate debugging. It enables
breakpoints, disables unwinding and writes out the utility function
source code to disk so it shows up in the source view.
Differential revision: https://reviews.llvm.org/D97249
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions