diff options
author | Sean Fertile <sfertile@ca.ibm.com> | 2018-09-20 00:26:47 +0000 |
---|---|---|
committer | Sean Fertile <sfertile@ca.ibm.com> | 2018-09-20 00:26:47 +0000 |
commit | e0e586b9976749415067cf2d4a9283b52f11035f (patch) | |
tree | e4c594bb93c207c3511e99ecc78f040e45252604 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7f3f05e0b78f00ad8df0f0222b4b1589dea85610 (diff) | |
download | llvm-e0e586b9976749415067cf2d4a9283b52f11035f.zip llvm-e0e586b9976749415067cf2d4a9283b52f11035f.tar.gz llvm-e0e586b9976749415067cf2d4a9283b52f11035f.tar.bz2 |
[PPC64] Helper for offset from a function's global entry to local entry. [NFC]
The PPC64 elf V2 abi defines 2 entry points for a function. There are a few
places we need to calculate the offset from the global entry to the local entry
and how this is done is not straight forward. This patch adds a helper function
mostly for documentation purposes, explaining how the 2 entry points differ and
why we choose one over the other, as well as documenting how the offsets are
encoded into a functions st_other field.
Differential Revision: https://reviews.llvm.org/D52231
llvm-svn: 342603
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions