[PATCH] Add a "no-split-stack" function attribute.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Oct 18 07:49:54 PDT 2013


On 18 October 2013 01:03, Luqman Aden <me+llvm at luqman.ca> wrote:
> On Thu, Oct 17, 2013 at 10:02 PM, Luqman Aden <me+llvm at luqman.ca> wrote:
>> So how would tools like clang and llc work after removing
>> EnableSegmentedStacks? Would passing -segmented-stacks/-fsplit-stacks
>> just put the split-stack attribute on all function automatically?
>
> In which case, how is that any different than just having EnableSegmentedStacks?

The difference is when it comes to linking two different modules. With
an attribute you can IR link (LTO) files compiled with -fsplit-stacks
and files compiled without and the correct functions get the split
stack check.

Cheers,
Rafael



More information about the llvm-commits mailing list