[lldb] Fix DW_AT_decl_file from DW_AT_specification from a different CU
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 9 Nov 2020 09:11:38 +0000 (10:11 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 9 Nov 2020 09:52:48 +0000 (10:52 +0100)
commit24f07531a34e141257f6616611e6430aed6f60a1
treeee376c308b6281ed4ac4401fab5c5704b352dcc7
parentf7fe7ea24d368f45deee1aed5e4c582ac69edd0b
[lldb] Fix DW_AT_decl_file from DW_AT_specification from a different CU

This would be reproducible in future DWZ category of the testsuite as:
  Failed Tests (1):
    lldb-api :: python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py

Differential Revision: https://reviews.llvm.org/D91014
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
lldb/test/Shell/SymbolFile/DWARF/DW_AT_decl_file-DW_AT_specification-crosscu.s [new file with mode: 0644]