labath wrote:

> But we won't want a CU index back if we have a `DW_IDX_type_unit` that is a 
> local type unit. Makes no sense to return a CUOffset from such entries.

Can you elaborate on that? I believe it doesn't make sense to you, but I just 
don't see the logic behind it. In particular I don't understand why it makes 
sense to return the CU offset when the DW_IDX_compile_unit attribute is 
explicitly specified (cases 2 and 3), but not when the compile unit is referred 
to implicitly via the lack of the attribute on a single-cu index (case 1)

https://github.com/llvm/llvm-project/pull/87740
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to