diff options
author | Abbas Sabra <Abbassabracpp@gmail.com> | 2021-05-17 20:10:26 +0200 |
---|---|---|
committer | Balazs Benics <balazs.benics@sigmatechnology.se> | 2021-05-17 20:10:26 +0200 |
commit | ebcf030efc5ef149e423f8fa2ca705b590a129ed (patch) | |
tree | 04af1280d90c041a5730a7c2ae36cd40bdcfd7ef /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 14dfb3831c425c7f22540a2160424224008c257e (diff) | |
download | llvm-ebcf030efc5ef149e423f8fa2ca705b590a129ed.zip llvm-ebcf030efc5ef149e423f8fa2ca705b590a129ed.tar.gz llvm-ebcf030efc5ef149e423f8fa2ca705b590a129ed.tar.bz2 |
[analyzer] Engine: fix crash with SEH __leave keyword
MSVC has a `try-except` statement.
This statement could containt a `__leave` keyword, which is similar to
`goto` to the end of the try block. The semantic of this keyword is not
implemented.
We should at least parse such code without crashing.
https://docs.microsoft.com/en-us/cpp/cpp/try-except-statement?view=msvc-160
Patch By: AbbasSabra!
Reviewed By: steakhal
Differential Revision: https://reviews.llvm.org/D102280
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions