diff options
author | Med Ismail Bennani <ismail@bennani.ma> | 2023-06-02 10:39:41 -0700 |
---|---|---|
committer | Med Ismail Bennani <ismail@bennani.ma> | 2023-06-06 10:58:34 -0700 |
commit | 3bc0baf9d43967d828e2d311f6c0863e79158f07 (patch) | |
tree | 04912bbc081464b84aa2c6e5af3d7d7977c017ff /lldb/source/Commands/CommandCompletions.cpp | |
parent | 6a9c3e611505b7637b46fbaacaf50362c97a263d (diff) | |
download | llvm-3bc0baf9d43967d828e2d311f6c0863e79158f07.zip llvm-3bc0baf9d43967d828e2d311f6c0863e79158f07.tar.gz llvm-3bc0baf9d43967d828e2d311f6c0863e79158f07.tar.bz2 |
[lldb/crashlog] Expand crash report file path before parsing
This patch should fix a crash in the opening a crash report that was
passed with a relative path.
This patch expands the crash report path before parsing it and raises a
`FileNotFoundError` exception if the file doesn't exist.
Differential Revision: https://reviews.llvm.org/D152012
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/source/Commands/CommandCompletions.cpp')
0 files changed, 0 insertions, 0 deletions