aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-02-08 12:39:04 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2024-02-08 12:39:04 -0800
commit5f4b40c90a51248b097de7b5bc89c6976d4c3298 (patch)
tree9fa4278c177b1092429f6813eab90a6aef9d2900 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentb8545e1ece271df16185d446503474c105d6398a (diff)
downloadllvm-5f4b40c90a51248b097de7b5bc89c6976d4c3298.zip
llvm-5f4b40c90a51248b097de7b5bc89c6976d4c3298.tar.gz
llvm-5f4b40c90a51248b097de7b5bc89c6976d4c3298.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/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions