aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-08-03 15:45:18 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-08-03 15:47:58 -0700
commit71ebcd3348061de2fde3a13f1adb56059aca5997 (patch)
tree501b01082ecb23ef5359d8278014023d2760162c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parente0b16aaaf99784efbb9dd9624787554d5584701a (diff)
downloadllvm-71ebcd3348061de2fde3a13f1adb56059aca5997.zip
llvm-71ebcd3348061de2fde3a13f1adb56059aca5997.tar.gz
llvm-71ebcd3348061de2fde3a13f1adb56059aca5997.tar.bz2
[lldb] Make LLDB resilient against failing dyld introspection SPIs
Make LLDB resilient against failing dyld introspection SPIs: - dyld_process_create_for_current_task - dyld_process_snapshot_create_for_process - dyld_process_snapshot_get_shared_cache These can all fail and return a nullptr. Instead of having an assert, which doesn't really make sense, as we have no control over whether these calls succeed or not, bail out gracefully and use the fallback logic. rdar://98070414 Differential revision: https://reviews.llvm.org/D131110
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions