aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DebugCounter.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2019-11-09 09:29:42 +0300
committerSimon Atanasyan <simon@atanasyan.com>2019-11-15 23:38:14 +0300
commit0287efb891c1da33d8eb01889f18ef71cd689ebc (patch)
treecd5ddd4adef43ffb39814af621e2cba54f2f0f69 /llvm/lib/Support/DebugCounter.cpp
parent09c7e51283dafbfd122cc0d7ab251476c451c9f5 (diff)
downloadllvm-0287efb891c1da33d8eb01889f18ef71cd689ebc.zip
llvm-0287efb891c1da33d8eb01889f18ef71cd689ebc.tar.gz
llvm-0287efb891c1da33d8eb01889f18ef71cd689ebc.tar.bz2
[mips] Do not emit R_MIPS_JALR for sym+offset in case of O32 ABI
O32 ABI uses relocations in REL format. Relocation's addend is written in place. R_MIPS_JALR relocation points to the `jalr` instruction which does not have a place to store the relocation addend. So it's impossible to save non-zero "offset". This patch blocks emission of `R_MIPS_JALR` relocations in such cases. Differential Revision: https://reviews.llvm.org/D70201
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
0 files changed, 0 insertions, 0 deletions