diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-09-09 01:07:01 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-09-09 01:07:01 +0000 |
commit | 2c3ea554985b1433db28a504c629d5d8c0eea185 (patch) | |
tree | 825906161d9fcbd50a26e0725ba04bea0d0ec125 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp | |
parent | ceff02280004b71a139cdbf0e9de788889cc0bd3 (diff) | |
download | llvm-2c3ea554985b1433db28a504c629d5d8c0eea185.zip llvm-2c3ea554985b1433db28a504c629d5d8c0eea185.tar.gz llvm-2c3ea554985b1433db28a504c629d5d8c0eea185.tar.bz2 |
[X86] Tighten up a comment which confused x64 ABI terminology.
The x64 ABI has two major function types:
- frame functions
- leaf functions
A frame function is one which requires a stack frame. A leaf function
is one which does not. A frame function may or may not have a frame
pointer.
A leaf function does not require a stack frame and may never modify SP
except via a return (RET, tail call via JMP).
A frame function which has a frame pointer is permitted to use the LEA
instruction in the epilogue, a frame function without which doesn't
establish a frame pointer must use ADD to adjust the stack pointer epilogue.
Fun fact: Leaf functions don't require a function table entry
(associated PDATA/XDATA).
llvm-svn: 281006
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions