[libcxxabi patch] Add Registers_arm class and unw_getcontext implementation

Nico Weber thakis at chromium.org
Thu Dec 5 22:32:27 PST 2013


Hi,

the attached patch adds Registers_arm and assembly for unw_getcontext. VFP
support is still missing. The class isn't used by anything yet.

One thing we were wondering about: Registers_arm64::validRegister() returns
true for UNW_ARM64_D0 - UNW_ARM64_D31, but Registers_arm64::getRegister()
aborts if one of these is passed in, which suggests that unw_get_reg() will
abort if called for one of these registers. Should validRegister() return
false for the D registers? (The 32bit implementation does the same thing as
the 64bit implementation for now.)

Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131205/fb8595c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: armregs.patch
Type: application/octet-stream
Size: 9683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131205/fb8595c9/attachment.obj>


More information about the cfe-commits mailing list