[lldb] Fix handling of `DW_AT_decl_file` according to D91014
authorAndy Yankovsky <weratt@gmail.com>
Tue, 16 Feb 2021 14:17:53 +0000 (15:17 +0100)
committerAndy Yankovsky <weratt@gmail.com>
Mon, 1 Mar 2021 15:01:11 +0000 (16:01 +0100)
commit7ec7876feda412b6edad0d83565395ef2fd5a004
tree0a35c2add906e505671112680609d37bbf9a1776
parent925093d88ae74560a8e94cf66f95d60ea3ffa2d3
[lldb] Fix handling of `DW_AT_decl_file` according to D91014

Apply changes from https://reviews.llvm.org/D91014 to other places where DWARF entries are being processed.

Differential Revision: https://reviews.llvm.org/D96778
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu1.s [new file with mode: 0644]
lldb/test/Shell/SymbolFile/DWARF/Inputs/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu2.s [new file with mode: 0644]