Update the checks in EmulateInstructionARM::GetFramePointerRegisterNumber
authorJason Molenda <jmolenda@apple.com>
Mon, 6 Jan 2014 23:39:35 +0000 (23:39 +0000)
committerJason Molenda <jmolenda@apple.com>
Mon, 6 Jan 2014 23:39:35 +0000 (23:39 +0000)
commit5a87c0fb37b5f37f3c8b5f3a48b7e8fcea02a7d7
tree1190ae8b466001b325e15f031307163705a83363
parent88d8974152f49e7780507c2aa5900a62a3dbf403
Update the checks in EmulateInstructionARM::GetFramePointerRegisterNumber
and EmulateInstructionARM::GetFramePointerDWARFRegisterNumber to recognize
the Apple arm convention (of using r7 for the frame pointer, regardless of
thumb or arm) even if the OS does not match Darwin/MacOSX/iOS.  Also
corrects the behavior for thumb code on non-Apple platforms.
<rdar://problem/14661537>

llvm-svn: 198648
lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp