diff options
author | Dean Michael Berris <dberris@google.com> | 2016-11-02 04:11:29 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-11-02 04:11:29 +0000 |
commit | fb53d0996999f9a82d65cb78540598be79d93d1d (patch) | |
tree | 61b7b72831a8545e6b520b61704df3b042bbf424 /test/asan/TestCases/speculative_load.cc | |
parent | ce7082b09627b42686d22992b0251f706da9c204 (diff) |
[XRay][x86_64] Define a tail exit trampoline.
Summary:
We define a new trampoline that's a hybrid between the exit and entry
trampolines with the following properties:
- Saves all of the callee-saved registers according to the x86_64
calling conventions.
- Indicate to the log handler function being called that this is a
function exit event.
This fixes a bug that is a result of not saving enough of the register
states, and that the log handler is clobbering registers that would be
used by the function being tail-exited into manifesting as runtime
errors.
Reviewers: rSerge, echristo, majnemer
Subscribers: mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D26020
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/speculative_load.cc')
0 files changed, 0 insertions, 0 deletions