labath added a comment.

Yes, I was keeping this problem in mind when I was working on that patch. :) I 
believe more work could be done to reduce the number of places that parse 
DW_AT_low/high_pc, but I haven't gotten around to that yet..

The thing that I am not sure we have fully explored is whether there is any 
need for this `&~1` business in the llvm dwarf code. For instance, what should 
`llvm::DWARFUnit::getSubroutineForAddress` return if you pass it an address 
that is equal to the actual memory address of the start of the thumb function, 
but the relevant DW_AT_low_pc contains `address|1`? Answering that might give 
us an indication on what is the layer at which this fixup should be applied.


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

https://reviews.llvm.org/D70840



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

Reply via email to