[Lldb-commits] [PATCH] D96778: [lldb] Fix handling of `DW_AT_decl_file` according to D91014

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 16 18:34:48 PST 2021


dblaikie added a comment.

In D96778#2567255 <https://reviews.llvm.org/D96778#2567255>, @jankratochvil wrote:

> In D96778#2566208 <https://reviews.llvm.org/D96778#2566208>, @dblaikie wrote:
>
>> I expect it'd be good to have a test case showing the sort of DWARF that DWZ produces for cross-CU references of enumerators.
>
> There is a testcase in D91014 <https://reviews.llvm.org/D91014>: lldb/test/Shell/SymbolFile/DWARF/DW_AT_decl_file-DW_AT_specification-crosscu.s
> There is no testcase in this patch.

That tests some other cross-cu references, but if it was testing the changes in this patch, wouldn't the test be failing (& I guess it isn't)?

So seems like more test coverage might be in order? (Either in another test file, or as an addition to the existing one)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96778/new/

https://reviews.llvm.org/D96778



More information about the lldb-commits mailing list