diff options
author | Philip Reames <preames@rivosinc.com> | 2024-09-19 11:12:08 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2024-09-19 11:22:39 -0700 |
commit | f3f3883f4b9d15770a5ce49956ed4425c71ad69f (patch) | |
tree | 9486488ccedcfbe5c8e41b96420aefe905eae26d /clang/lib/Basic/FileManager.cpp | |
parent | e45f9aa7fa5c6e3ef808f5ff5d80a09fc999b9bc (diff) | |
download | llvm-f3f3883f4b9d15770a5ce49956ed4425c71ad69f.zip llvm-f3f3883f4b9d15770a5ce49956ed4425c71ad69f.tar.gz llvm-f3f3883f4b9d15770a5ce49956ed4425c71ad69f.tar.bz2 |
[RISCV] Fix crash reported in https://github.com/llvm/llvm-project/issues/109313
Change edc71e22c004d3b3dfc535f7917ea0b47a282ac8 had tried to handle the case
where an instruction wasn't available, but had used a dyn_cast instead of
a dyn_cast_or_null. Switch instead to an explicit null check, and a cast.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions