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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to