Add an alternative CFA type.
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Wed, 12 Nov 2014 15:14:03 +0000 (15:14 +0000)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Wed, 12 Nov 2014 15:14:03 +0000 (15:14 +0000)
commit43bcdbde4a4e6f821e5749758d864c0da915462f
tree0b7d32066a229fb1c05009143acb44d0c21c6117
parent3cba1c267d65ae4408f3bd8a02166e743a904bd8
Add an alternative CFA type.

Summary:
PowerPC handles the stack chain with the current stack pointer being a pointer
to the backchain (CFA).  LLDB currently has no way of handling this, so this
adds a "CFA is dereferenced from a register" type.

Discussed with Jason Molenda, who also provided the initial patch for this.

Reviewers: jasonmolenda

Reviewed By: jasonmolenda

Subscribers: emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D6182

llvm-svn: 221788
lldb/include/lldb/Symbol/UnwindPlan.h
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
lldb/source/Symbol/UnwindPlan.cpp