tedwoodward wrote:

> **How does it help? **
> I have limited knowledge about this, I think it helps in instruction level 
> debugging.
> Users can isolate issues by specifically enabling or disabling extensions to 
> see how the binary is interpreted.

Originally, the motivation for this is to let the lldb disassembler 
automatically turn on features that are used in the relevant binary, from the 
ELF attributes, such as hvx and hvx-qfloat on Hexagon, as well as RISC-V 
features that were originally handled in a switch, turned on using ELF flags, 
or by default.

A lot of that has been superseded by 
https://github.com/llvm/llvm-project/pull/173046 , but some remains - handling 
attributes and -Y ("-Y +foo" shouldn't remove "+bar,+baz," from attributes), 
and removing attributes with -Y. And, of course, tests for that.

https://github.com/llvm/llvm-project/pull/147990
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to