labath wrote:

> Sadly, I haven't figured out a good way to test this.

`test/Shell/SymbolFile/DWARF/x86/DW_AT_const_value.s` tests various encodings 
of DW_AT_const_value.

It doesn't do DW_FORM_data16, most likely because it was not working at the 
time. You can add another case to the file to exercise this code path.

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

Reply via email to