jimingham wrote:

It always makes me a little sad to see `.first` or `.second` showing up - they 
are so non-self-documenting.  How horrible would this be if you used a `struct 
AddrAndType { AddressType type; lldb::addr_t address}` (I'm a bit surprised we 
don't have one already) instead so that you would do `GetLoadAddress().address` 
rather than `GetLoadAddress().second`?

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

Reply via email to