diff options
author | Ingo Müller <ingomueller@google.com> | 2022-07-14 12:17:29 +0000 |
---|---|---|
committer | Ingo Müller <ingomueller@google.com> | 2022-07-15 15:15:58 +0000 |
commit | b9f5b02fd071d494f828c3c9c2b25c671a457928 (patch) | |
tree | 8ead9be1d23bebaaa1cb5e5f4e16304b882a801a /lldb/source/Utility/StringExtractorGDBRemote.cpp | |
parent | 2b2697b7d79c510ff6f72d8612033c1d253a78a1 (diff) | |
download | llvm-b9f5b02fd071d494f828c3c9c2b25c671a457928.zip llvm-b9f5b02fd071d494f828c3c9c2b25c671a457928.tar.gz llvm-b9f5b02fd071d494f828c3c9c2b25c671a457928.tar.bz2 |
[mlir][mbr] Improve diagnostics on error with `raise from`.
This commit extends the `raise` statements on errors in user-provided
code with `from e` clauses that attach the original exception to the one
being raised. This allows to debug the root cause of the error more
easily.
Reviewed By: SaurabhJha
Differential Revision: https://reviews.llvm.org/D129762
Diffstat (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions