diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2023-09-13 14:04:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 14:04:58 -0700 |
commit | d5cc372332fcf573d9182991705c58aa884e159f (patch) | |
tree | 74a0579e16aeb0360d5fe3da63ee4cb2ab8f4f97 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 102715a60ee45d04b5ba687a8728acd21e61494a (diff) | |
download | llvm-d5cc372332fcf573d9182991705c58aa884e159f.zip llvm-d5cc372332fcf573d9182991705c58aa884e159f.tar.gz llvm-d5cc372332fcf573d9182991705c58aa884e159f.tar.bz2 |
[flang] Fix crash under -fdebug-dump-all (#66224)
The -fdebug-dump-all flag invokes runtime type information generation
even for a program with fatal semantic errors. This could cause a crash
on a failed CHECK(), since the type information table generator assumes
a correct program. Make it more resilient for a known fatal case. (But
if we hit many more of these, we should look into not generating the
runtime type information tables under this flag.)
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions