[PATCH] D21424: StackColoring for SafeStack.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 17:45:38 PDT 2016
eugenis created this revision.
eugenis added reviewers: pcc, chandlerc.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
This is a fix for PR27842.
An IR-level implementation of stack coloring tailored to work with
SafeStack. It is a bit weaker than the MI implementation in that it
does not the "lifetime start at first access" logic. This can be
improved in the future.
This patch also replaces the naive implementation of stack frame
layout with a greedy algorithm that can split existing stack slots
and even fit small objects inside the alignment padding of other
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 46916 bytes
Desc: not available
More information about the llvm-commits