aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVictor Huang <wei.huang@ibm.com>2020-07-10 06:47:47 -0500
committerVictor Huang <wei.huang@ibm.com>2020-07-10 07:23:32 -0500
commit118366dcb6c35239c1c816d109230d6f7f3660af (patch)
tree541d5bd9440c05d25e3b0a2000cf0b8fd9b1752e /clang/lib/Frontend/CompilerInvocation.cpp
parent4c5a93bd58bad70e91ac525b0e020bd5119a321a (diff)
downloadllvm-118366dcb6c35239c1c816d109230d6f7f3660af.zip
llvm-118366dcb6c35239c1c816d109230d6f7f3660af.tar.gz
llvm-118366dcb6c35239c1c816d109230d6f7f3660af.tar.bz2
[PowerPC] Implement R_PPC64_REL24_NOTOC calls, callee also has no TOC
The PC Relative code allows for calls that are marked with the relocation R_PPC64_REL24_NOTOC. This indicates that the caller does not have a valid TOC pointer in R2 and does not require R2 to be restored after the call. This patch is added to support local calls to callees tha also do not have a TOC. Reviewed By: sfertile, MaskRay, stefanp Differential Revision: https://reviews.llvm.org/D82816
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions