aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorStephen Tozer <Stephen.Tozer@Sony.com>2023-05-18 17:13:15 +0100
committerStephen Tozer <Stephen.Tozer@Sony.com>2023-05-19 11:29:30 +0100
commit0670470a8ded8ece91444722a81a9b02b93dcf4a (patch)
treebb28869efd8fc20c6481307ce2c63aaaf2cdab60 /clang/lib/CodeGen/CodeGenFunction.cpp
parent5586bc539acb26cb94e461438de01a5080513401 (diff)
downloadllvm-0670470a8ded8ece91444722a81a9b02b93dcf4a.zip
llvm-0670470a8ded8ece91444722a81a9b02b93dcf4a.tar.gz
llvm-0670470a8ded8ece91444722a81a9b02b93dcf4a.tar.bz2
[DebugInfo][InstrRef] Handle non-directly reachable DBG_PHIs in LiveDebugValues
Fixes: https://github.com/llvm/llvm-project/issues/62725 This patch fixes an error in which a DBG_INSTR_REF referring to a DBG_PHI in a block that is not directly reachable from the entry block results in a crash during LiveDebugValues. Note that this fix prevents a crash from occurring, but will give undef locations to users of these PHIs even if a valid location exists. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D150707
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions