[Lldb-commits] [PATCH] D96778: [lldb] Fix handling of `DW_AT_decl_file` according to D91014
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 16 10:39:26 PST 2021
labath added a comment.
In general, I believe such a situation can occur even now, if DW_AT_specification/DW_AT_abstract_origin uses DW_FORM_ref_addr. And I think dsymutil actually produces such references. However, I don't think one can meaningfully use DW_AT_specification/DW_AT_abstract_origin for enumerators. It might be possible for variable DIEs in inlined functions (with the function's abstract origin residing in another CU), but as the only effect of that will be a change in the file the variable was supposedly declared in, I don't think anybody would notice, even if we ran into debug info like this.
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