diff options
author | Enrico Granata <egranata@apple.com> | 2013-03-26 01:27:04 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-03-26 01:27:04 +0000 |
commit | 2f59302ce804c0886ccc4dcdd5e51789981d4bc3 (patch) | |
tree | 80ef4ff971b10d45c07a130629a6754af6291efa /llvm/lib/Support/PrettyStackTrace.cpp | |
parent | 333ec6ceb7d60d8a03fc2f3ae34f8a2486c82e30 (diff) | |
download | bcm5719-llvm-2f59302ce804c0886ccc4dcdd5e51789981d4bc3.tar.gz bcm5719-llvm-2f59302ce804c0886ccc4dcdd5e51789981d4bc3.zip |
<rdar://problem/13221060>
Make register read and write accept $<regname> as valid.
This allows:
(lldb) reg read rbx
rbx = 0x0000000000000000
(lldb) reg read $rbx
rbx = 0x0000000000000000
(lldb) reg write $rbx 1
(lldb) reg read $rbx
rbx = 0x0000000000000001
to function correctly
It is not done at the RegisterContext level because we should keep the internal API clean of this user-friendly behavior and name registers appropriately.
If this ends up being needed in more places we can reconsider.
llvm-svn: 177961
Diffstat (limited to 'llvm/lib/Support/PrettyStackTrace.cpp')
0 files changed, 0 insertions, 0 deletions