summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2021-12-29 16:22:26 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2021-12-29 16:22:26 +0800
commit8de2d06251c30751bdc0fd7b89133610797759e6 (patch)
tree7079fc581b99ee30ab4f1afce7b763fdcc4c0afc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb4682816bc6e35fb4e207227f73b88b2603d4363 (diff)
[clang] Fix crash in bug52905
The root cause for the crash is the incorrect use of `cast`. The actual type and cast-to type is different. This patch fixes the crash by converting the `cast` to `dyn_cast`.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions