Skip to content

Commit b412e52

Browse files
committed
Add a little sketch of a program that can extract unwind
information from the compact unwind section used on darwin for exception handling, and dump that information.. The UNWIND_X86_64_MODE_RBP_FRAME and UNWIND_X86_64_MODE_DWARF entries look to be handled correctly. UNWIND_X86_64_MODE_STACK_IMMD and UNWIND_X86_64_MODE_STACK_IND are still a work in progress. Only x86_64 is supported right now. Given that this is an experiment in parsing the section contents, I don't expect to add other architectures; they are trivial variations on this arch. There exists a real dumper included in the Xcode tools, unwinddump. llvm-svn: 222127
1 parent 5d2670c commit b412e52

File tree

1 file changed

+664
-0
lines changed

1 file changed

+664
-0
lines changed

0 commit comments

Comments
 (0)