diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-10-31 17:04:35 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-04 19:36:58 +0100 |
commit | 6eca4f46912a8318d7a5888506c3f26c20bdc012 (patch) | |
tree | 659289854956a0df501460bd3366f995aedf56b2 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | bd14bb42f03a227c7a83db942af4680d2fe0a78d (diff) | |
download | bcm5719-llvm-6eca4f46912a8318d7a5888506c3f26c20bdc012.tar.gz bcm5719-llvm-6eca4f46912a8318d7a5888506c3f26c20bdc012.zip |
[lldb] [Process/NetBSD] Add register info for missing register sets
Add info for all register sets supported in NetBSD, particularly for all
registers 'expected' by LLDB. This is necessary in order to fix
python_api/lldbutil/iter/TestRegistersIterator.py test that currently
fails due to missing names of register sets (None).
This copies fpreg descriptions from Linux, and combines Linux' AVX
and MPX registers into a single XState group, to fit NetBSD register
group design. Technically, we do not support MPX registers
at the moment but gdb-remote insists on passing their errors anyway,
and if we do not include it in any group, they end up in a separate
anonymous group that breaks the test.
While at it, swap the enums for XState and DBRegs to match register set
ordering.
This also adds a few consts to the lldb-x86-register-enums.h to provide
more consistency between user registers and debug registers.
Differential Revision: https://reviews.llvm.org/D69667
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions