[PATCH] ARM and Thumb Segmented Stacks

Alex Crichton alex at crichton.co
Mon Feb 24 13:38:11 PST 2014


Attached is a patch which implements segmented stacks for the ARM and
Thumb architectures on Linux and Android.

For the Rust programming language, we've been using a temporary fork
of LLVM with these patches for awhile now. I am not personally the
author of these patches, but we are attempting to upstream all of our
local patches that we're using in Rust.

This patch is a culmination of patches by:

  @ILyoan - original implementation for Android
  @luqmana (Luqman Aden) - implementation for arm/linux
  @neykov (Svetoslav) - thumb implementation and all the tests

I've just rolled them up into one. I can answer simple questions about
the implementation/tests, but I'll have to reach out to one of the
original authors for more technical questions. I'm also freely
available for fixing small issues like style.

We'd love to be using vanilla upstream LLVM with Rust, so if anything
is necessary for this patch, please just let me know! This is a bit of
a significant patch, so this may not be the right place for this, but
I'm more than willing to put this in the right place if that's
necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-thumb-stacks.patch
Type: application/octet-stream
Size: 43224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140224/9171c6fb/attachment.obj>


More information about the llvm-commits mailing list