aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2023-12-05 18:49:27 +0000
committerGitHub <noreply@github.com>2023-12-05 18:49:27 +0000
commit33af16f580b168c99a61db118ef59aaf6dd1488f (patch)
tree6545873525969e1516620ef0c489f7b5426a4e50 /clang/lib/CodeGen/CodeGenModule.cpp
parent7563eb64102c3bee9b0ab581309d170891fa0565 (diff)
downloadllvm-33af16f580b168c99a61db118ef59aaf6dd1488f.zip
llvm-33af16f580b168c99a61db118ef59aaf6dd1488f.tar.gz
llvm-33af16f580b168c99a61db118ef59aaf6dd1488f.tar.bz2
[DebugInfo][RemoveDIs] Final cleanup for enabling non-instr-debuginfo (#74497)
Some final errors have turned up when doing stage2clang builds: * We can insert before end(), which won't have an attached DPMarker, thus we can have a nullptr DPMarker in Instruction::insertBefore. Add a null check there. * We need to use the iterator-returning form of getFirstNonPHI to ensure we don't insert any PHIs behind debug-info at the start of a block.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions