aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOCHyams <orlando.hyams@sony.com>2023-04-18 08:05:12 +0100
committerOCHyams <orlando.hyams@sony.com>2023-04-18 08:43:54 +0100
commit2ccbd19473a1e35b88dc4e6c9f0d0b0e5801804d (patch)
tree62363719cb0587a51e5ca5db79ba28cfeb23a1e0 /flang/lib/Frontend/CompilerInvocation.cpp
parent912fedfbe5b9a2120c2a48a142abaff3bdc7a971 (diff)
downloadllvm-2ccbd19473a1e35b88dc4e6c9f0d0b0e5801804d.zip
llvm-2ccbd19473a1e35b88dc4e6c9f0d0b0e5801804d.tar.gz
llvm-2ccbd19473a1e35b88dc4e6c9f0d0b0e5801804d.tar.bz2
[Assignment Tracking][SelectionDAG] Fix dbg.declare location nullptr deref
Debug intrinsics sometimes end up with empty metadata location operands. The debug intrinsic interfaces return nullptr when retrieving location operand in this case. When assignment tracking is not enabled a dbg.declare with a nullptr location operand is skipped. Do the same when assignment tracking is enabled (a nullptr address component of a dbg.assign is already handled correctly. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D148203
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions