[llvm-dev] LLVM libunwind stack usage

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 20 09:58:52 PST 2016


On Tue, Jan 19, 2016 at 2:09 PM, Ed Maste via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
> Is it reasonable to change LLVM libunwind to use an approach similar
> to GCC's unwinder, and have a target-specific maximum DWARF register
> number? X86 does have DWARF register numbers above the 18 that GCC
> accommodates, but they're not going to be useful in the unwinder
> anyhow.
>

This sounds pretty reasonable. Expecting EH to work on a 4K stack seems
silly, but exceptions can be thrown from deep in a call tree and I think it
makes sense to keep stack usage down.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160120/c0cfefaf/attachment.html>


More information about the llvm-dev mailing list