A little more work on the compact unwind dumper.
authorJason Molenda <jmolenda@apple.com>
Thu, 27 Nov 2014 13:21:38 +0000 (13:21 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 27 Nov 2014 13:21:38 +0000 (13:21 +0000)
commit671001cc6607a7c9a8890edf45c4479be9860c83
tree5e7373d9d92a6c2f3f6c417d37a574f7e82cd59d
parent8d43369163182f5176ed6d9f652a227dc0d7e4ce
A little more work on the compact unwind dumper.
UNWIND_X86_64_MODE_STACK_IND mode is almost correct; extra stack
space allocated before the reg saves isn't handled right.  Still a
little wobbily on the file addresses of functions.  Finally understand
how the 6 registers that may be saved are ordered in just 10 its
of space -- the Lehmer code for the registers is derived and then
the sequence is encoded in a variable base number.  Added some
comments with references to what the code is doing so it'll be
easier for others to track down.

llvm-svn: 222884
lldb/tools/compact-unwind/compact-unwind-dumper.c