> On 28 Mar 2016, at 22:20, Greg Parker wrote:
>
> swiftc has a hidden -Xllvm flag that passes options to the LLVM code
> generator. That might work for low-level options like instruction selection
> and maybe the red zone. It's not the right answer for production use, but it
> might be good
> On Mar 28, 2016, at 11:16 AM, Simon Evans via swift-dev
> wrote:
> Hi
>
> I’ve been experimenting with kernel programming in Swift and this required
> disabling the use of the red zone. Currently Im compiling to ELF on Linux and
> linking in my own minimal libc/libcpp with libswiftCore.a so it
> On Mar 28, 2016, at 11:16 AM, Simon Evans via swift-dev
> wrote:
>
> On a related note about compiler options, what could be done about options
> such
> as enabling/disabling certain instruction sets eg SSE or FP or other such
> lowlevel options etc? These wouldn't necessarily always be on o
Hi
I’ve been experimenting with kernel programming in Swift and this required
disabling the use of the red zone. Currently Im compiling to ELF on Linux and
linking in my own minimal libc/libcpp with libswiftCore.a so its not using any
Linux libraries.
I did a PR for adding a '-disable-red-zone' o