diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-02-08 11:24:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 11:24:07 -0800 |
commit | 74fc16aaaa227b84e22706d2c5e376287f560b9e (patch) | |
tree | dde1d61fc15f90833ca5956cb234efbfde47f641 /llvm/lib/IR/Function.cpp | |
parent | 3d71e4166de81bc3b86d127d9ac6607bda2b2755 (diff) | |
download | llvm-74fc16aaaa227b84e22706d2c5e376287f560b9e.zip llvm-74fc16aaaa227b84e22706d2c5e376287f560b9e.tar.gz llvm-74fc16aaaa227b84e22706d2c5e376287f560b9e.tar.bz2 |
[lldb] Expand background symbol download (#80890)
LLDB has a setting (symbols.enable-background-lookup) that calls
dsymForUUID on a background thread for images as they appear in the
current backtrace. Originally, the laziness of only looking up symbols
for images in the backtrace only existed to bring the number of
dsymForUUID calls down to a manageable number.
Users have requesting the same functionality but blocking. This gives
them the same user experience as enabling dsymForUUID globally, but
without the massive upfront cost of having to download all the images,
the majority of which they'll likely not need.
This patch renames the setting to have a more generic name
(symbols.auto-download) and changes its values from a boolean to an
enum. Users can now specify "off", "background" and "foreground". The
default remains "off" although I'll probably change that in the near
future.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions