HomePhabricator

StackColoring for SafeStack.

Description

StackColoring for SafeStack.

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
objects.

Details

Committed
eugenisJun 29 2016, 1:37 PM
Parents
rL274161: Matching change for lld for the llvm change of Archive::create() from…
Branches
Unknown
Tags
Unknown