diff options
author | Dean Michael Berris <dberris@google.com> | 2017-04-19 05:37:14 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-04-19 05:37:14 +0000 |
commit | 9404497acddc23ed6602ec663d17bb846186c9d6 (patch) | |
tree | 5a48dbb5c2233b5eadcadfcd3d785f035b283df1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bd186c0787844f4d9111e5a918c457ad9e830e8c (diff) | |
download | bcm5719-llvm-9404497acddc23ed6602ec663d17bb846186c9d6.tar.gz bcm5719-llvm-9404497acddc23ed6602ec663d17bb846186c9d6.zip |
[XRay][compiler-rt] Fix up CFI annotations and stack alignment
Summary:
Previously, we had been very undisciplined about CFI annotations with
the XRay trampolines. This leads to runtime crashes due to mis-alined
stack pointers that some function implementations may run into (i.e.
those using instructions that require properly aligned addresses coming
from the stack). This patch attempts to clean that up, as well as more
accurately use the correct amounts of space on the stack for stashing
and un-stashing registers.
Reviewers: eugenis, kcc
Subscribers: kpw, llvm-commits
Differential Revision: https://reviews.llvm.org/D32202
llvm-svn: 300660
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions