aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-03-14 11:38:04 -0700
committerFangrui Song <i@maskray.me>2022-03-14 11:38:04 -0700
commit407c721ceb93863b2cb3851a6aa7686f31657e6b (patch)
treebdd1fb182702b17b1e7553413be20a9d1c7abd6c /lldb/source/Commands/CommandObjectThread.cpp
parentb0a76b016219fb6ff878eca5a986799506c98053 (diff)
downloadllvm-407c721ceb93863b2cb3851a6aa7686f31657e6b.zip
llvm-407c721ceb93863b2cb3851a6aa7686f31657e6b.tar.gz
llvm-407c721ceb93863b2cb3851a6aa7686f31657e6b.tar.bz2
[Support] Change zlib::compress to return void
With a sufficiently large output buffer, the only failure is Z_MEM_ERROR. Check it and call the noreturn report_bad_alloc_error if applicable. resize_for_overwrite may call report_bad_alloc_error as well. Now that there is no other error type, we can replace the return type with void and simplify call sites. Reviewed By: ikudrin Differential Revision: https://reviews.llvm.org/D121512
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions