diff options
author | John Harrison <harjohn@google.com> | 2024-09-10 12:40:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 12:40:20 -0700 |
commit | 5b4100cc354148a1140546e7f5ac2bf380bc5eff (patch) | |
tree | ce19d4cfc569dbaa56238f2262b4a1c8b3d6ca7a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5537ae87b3a87b3abeb4e6983cecd9b103648243 (diff) | |
download | llvm-5b4100cc354148a1140546e7f5ac2bf380bc5eff.zip llvm-5b4100cc354148a1140546e7f5ac2bf380bc5eff.tar.gz llvm-5b4100cc354148a1140546e7f5ac2bf380bc5eff.tar.bz2 |
[lldb-dap] Improve `stackTrace` and `exceptionInfo` DAP request handlers (#105905)
Refactoring `stackTrace` to perform frame look ups in a more on-demand
fashion to improve overall performance.
Additionally adding additional information to the `exceptionInfo`
request to report exception stacks there instead of merging the
exception stack into the stack trace. The `exceptionInfo` request is
only called if a stop event occurs with `reason='exception'`, which
should mitigate the performance of `SBThread::GetCurrentException`
calls.
Adding unit tests for exception handling and stack trace supporting.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions