aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-09-19 11:12:08 -0700
committerPhilip Reames <listmail@philipreames.com>2024-09-19 11:22:39 -0700
commitf3f3883f4b9d15770a5ce49956ed4425c71ad69f (patch)
tree9486488ccedcfbe5c8e41b96420aefe905eae26d /clang/lib/Basic/FileManager.cpp
parente45f9aa7fa5c6e3ef808f5ff5d80a09fc999b9bc (diff)
downloadllvm-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