clayborg added a comment.

In https://reviews.llvm.org/D32167#1094173, @labath wrote:

> The patch looks much better now, but I think we still need to discuss the 
> data extractor sliding issue, as right now that's very hacky.


It makes things just work with .debug_info as is pretends that the .debug_types 
is just appended to the end of the .debug_info (offset wise). All info in 
.debug_types has no DW_FORM_ref_addr or any references that are outside of the 
current type unit so the info in .debug_types is position independent. I would 
like to keep this in DWARFDataExtractor only if possible as it is hacky and 
won't work in a general case. Feel free to suggest any other solution that 
doesn't require checked if the data is from .debug_types and adding an offset 
all over the code, but I couldn't think of one.


https://reviews.llvm.org/D32167



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

Reply via email to