summaryrefslogtreecommitdiff
path: root/test/xray/TestCases/Linux
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-04-20 03:26:04 +0000
committerDean Michael Berris <dberris@google.com>2017-04-20 03:26:04 +0000
commitea443214cce6273e3310755a56e5bb22087eae6f (patch)
tree0f1dbcad96a3a46a103090b4dee40c8235dea13d /test/xray/TestCases/Linux
parent00e8357e522e7327483bfd438f4db4ee17ffa544 (diff)
[XRay][compiler-rt] Cleanup CFI/CFA annotations on trampolines
Summary: This is a follow-up to D32202. While the previous change (D32202) did fix the stack alignment issue, we were still at a weird state in terms of the CFI/CFA directives (as the offsets were wrong). This change cleans up the SAVE/RESTORE macros for the trampoline, accounting the stack pointer adjustments with less instructions and with some clearer math. We note that the offsets will be different on the exit trampolines, because we don't typically 'call' into this trampoline and we only ever jump into them (i.e. treated as a tail call that's patched in at runtime). Reviewers: eugenis, kpw, pelikan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32214 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray/TestCases/Linux')
0 files changed, 0 insertions, 0 deletions