summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-24 16:30:01 +0200
committerNikita Popov <npopov@redhat.com>2023-10-09 14:22:12 +0200
commit8840da2db237cd714d975c199d5992945d2b71e9 (patch)
tree47017629a9abfab760d505c71c516fec66ff5950 /clang/lib/CodeGen/CodeGenModule.cpp
parent111c7c1d072ccfe0799787436f4fb72cbd2bc61c (diff)
Reapply [Verifier] Sanity check alloca size against DILocalVariable fragment size
Reapply now that generation of incorrect debuginfo for FnDef in rustc has been fixed. ----- Add a check that the DILocalVariable fragment size in dbg.declare does not exceed the size of the alloca. This would have caught the invalid debuginfo regenerated by rustc in https://github.com/llvm/llvm-project/issues/64149. Differential Revision: https://reviews.llvm.org/D158743
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions