summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/main.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-10-19 23:38:38 +0000
committerJason Molenda <jmolenda@apple.com>2016-10-19 23:38:38 +0000
commit0b5102fd7eaac660e586648c9ce0ef4b74822788 (patch)
treeb45bfa8fb1ffb878fd081ddc5cc550ef68c5d8ad /lldb/packages/Python/lldbsuite/test/source-manager/main.c
parente1d6998f5d5952481ac29a731430c2c93ed08b6a (diff)
downloadbcm5719-llvm-0b5102fd7eaac660e586648c9ce0ef4b74822788.tar.gz
bcm5719-llvm-0b5102fd7eaac660e586648c9ce0ef4b74822788.zip
Add lldb register definitions for w0-w28, s0-s31, and d0-d31 to
RegisterInfos_arm64.h. These register definitions include the offset into the register context, which will vary depending on the endianness of the arm64 target system (e.g. s8 is at offset 0 in v8 on little-endian, it is at offset 12 on big-endian) and I've only added the little-endian definitions to the table. If we want to add a big-endian arm64 target, we'll need a separate table which uses the big-endian offsets for these registers. I changed the name of the register table from g_register_infos_arm64 to g_register_infos_arm64_le to make it explicit that this is the little-endian version of that table, and updated users of the table to use the new name. I added support for the "w", "s", and "d" registers to RegisterContextDarwin_arm64 but it was more an example than anything useful -- this plugin is only used when working with core files and darwin core files do not (today) include the floating point register context, so it only added the support for the "w" pseudo registers. When we're connected to a real arm64 device, we use the ProcessGDBRemote code. llvm-svn: 284666
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud