labath added a comment.

Regarding the asserts, I'm thinking if it wouldn't be better to check the 
compare the resulting RegisterInfo structs instead of the raw struct layout. 
The reasons for that are:

- it will be checking the thing that we're actually relying on (the register 
info macros is pretty complex and can be messed up easily
- the register info artifacts (unlike the GPR structs) are exported from these 
files, so the checks for that could be placed into a unit test

What do you think?


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

https://reviews.llvm.org/D91216

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

Reply via email to