diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-11-17 11:43:37 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-11-17 11:43:37 +0000 |
commit | b412e529e209fe31d919902d4866c33e177b81e7 (patch) | |
tree | c3da4c7113696c2743afb351ca4e221e1af3b262 /llvm/lib/Support/Triple.cpp | |
parent | 5d2670c52a840266d9b2756a15a43731a74c500a (diff) | |
download | bcm5719-llvm-b412e529e209fe31d919902d4866c33e177b81e7.tar.gz bcm5719-llvm-b412e529e209fe31d919902d4866c33e177b81e7.zip |
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
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions