[llvm-commits] [PATCH] An option to selectively enable parts of ARM EHABI support

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Jan 18 02:17:16 PST 2012


Hi,

at the moment, ARM EHABI instructions for frame unwinding are in a
pretty good shape (I mean the language-independent part, referenced as
"unwinding instructions" in the spec). Unfortunately, "unwinding
descriptors" are broken and universally fail in the personality
routine. I did not dig deeper, but a descriptor of type 1,1 (see ARM
EHABI spec page 39) is very common in the current implementation - and
invalid at the same time.

This patch adds an option to disable emitting unwinding descriptors.
This lets us, by enabling ehabi and disabling descriptors, get a
working backtrace() on ARM.

Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ehabi-descriptors.patch
Type: text/x-patch
Size: 1609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120118/d8e71529/attachment.bin>


More information about the llvm-commits mailing list