[ARM64] Debug info for structure argument missing DW_AT_location
authorDavid Stenberg <david.stenberg@ericsson.com>
Wed, 29 Jan 2020 08:44:02 +0000 (09:44 +0100)
committerDavid Stenberg <david.stenberg@ericsson.com>
Wed, 29 Jan 2020 09:56:23 +0000 (10:56 +0100)
commit6a2413c43509a0e67c91f9dc8d688aa6f7a0d571
tree47eebf98c9750f10bc8348afeed7cd9df14c8ea7
parent4e3f4f03f3e4dccfac6212a66d54d584fea328a2
[ARM64] Debug info for structure argument missing DW_AT_location

Summary:
Prevent eliminating dbg_val due to COPY.

Fixes this
https://bugs.llvm.org/show_bug.cgi?id=40709

Patch by: Kamlesh Kumar (kamleshbhalui)

Reviewers: aprantl, dblaikie, vsk, dsanders

Reviewed By: dsanders

Subscribers: dstenb, kristof.beyls, hiraditya, llvm-commits

Tags: #debug-info, #llvm

Differential Revision: https://reviews.llvm.org/D73159
llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
llvm/test/DebugInfo/AArch64/pr40709.ll [new file with mode: 0644]