aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2023-04-18 08:11:31 +0100
committerOCHyams <orlando.hyams@sony.com>2023-04-18 08:43:54 +0100
commit1950cb4b6839c5befae4945760c484adcbba956d (patch)
tree6a2977dd6ea2dfa677cb35e3d97d263e4fb39402 /flang/lib/Frontend/CompilerInvocation.cpp
parent2ccbd19473a1e35b88dc4e6c9f0d0b0e5801804d (diff)
downloadllvm-1950cb4b6839c5befae4945760c484adcbba956d.zip
llvm-1950cb4b6839c5befae4945760c484adcbba956d.tar.gz
llvm-1950cb4b6839c5befae4945760c484adcbba956d.tar.bz2
[Assignment Tracking] Skip empty-metadata dbg.declares in AssignmentTrackingPass
Debug intrinsics sometimes end up with empty metadata location operands. The debug intrinsic interfaces return nullptr when retrieving location operand in this case. Skip empty-metadata dbg.declares to avoid dereferencing the nullptr. This doesn't affect the final debug info in any way. Reviewed By: jryans Differential Revision: https://reviews.llvm.org/D148204
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions