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 | 0d86810158356199dcb4153bdb201abe744d0aea (patch) | |
| tree | 872ecfbbbe182b4d4b6e1afecd0ba28bb41ec50a /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 0b460e6bf8e0c418558401acc4832538ed8b662b (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
llvm-svn: 285787
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
