aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-11-25 11:02:56 -0800
committerFangrui Song <maskray@google.com>2019-11-27 09:09:46 -0800
commit3d9b1128d609323dd4017250be0f6def94495205 (patch)
treec948e89963f40479b2bc2abb5365a52397f1d6ac /clang/lib/Frontend/CompilerInvocation.cpp
parenta048bf87fb652c0fdfd5936965fc72bcef0dfea2 (diff)
downloadllvm-3d9b1128d609323dd4017250be0f6def94495205.zip
llvm-3d9b1128d609323dd4017250be0f6def94495205.tar.gz
llvm-3d9b1128d609323dd4017250be0f6def94495205.tar.bz2
[ELF][ARM] Add getPCBias()
ThunkCreator::getThunk and ThunkCreator::normalizeExistingThunk currently assume that the implicit addends are -8 for ARM and -4 for Thumb. In D70637, ThunkCreator::getThunk will need to take care of the relocation addend explicitly. Add the utility function getPCBias() as a prerequisite so that the getThunk change in D70637 can be more general. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D70690
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions