aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/RefactoringTest.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2019-07-12 04:58:45 +0000
committerSimon Atanasyan <simon@atanasyan.com>2019-07-12 04:58:45 +0000
commitee5af50eb0c3b40bed784ba3f8bde1b06c0f6804 (patch)
tree6f707085bd0b8dd64effb0e83a6155fe06774886 /clang/unittests/Tooling/RefactoringTest.cpp
parent27ed1c5bb80c8da317cd80bdd50cb22189d1c6fb (diff)
downloadllvm-ee5af50eb0c3b40bed784ba3f8bde1b06c0f6804.zip
llvm-ee5af50eb0c3b40bed784ba3f8bde1b06c0f6804.tar.gz
llvm-ee5af50eb0c3b40bed784ba3f8bde1b06c0f6804.tar.bz2
[mips] Fix JmpLink to texternalsym and tglobaladdr on mcroMIPS R6
There is not match for the `MipsJmpLink texternalsym` and `MipsJmpLink tglobaladdr` patterns for microMIPS R6. As a result LLVM incorrectly selects the `JALRC16` compact 2-byte instruction which takes a target instruction address from a register only and assign `R_MIPS_32` relocation for this instruction. This relocation completely overwrites `JALRC16` and nearby instructions. This patch adds missed matching patterns, selects `BALC` instruction and assign a correct `R_MICROMIPS_PC26_S1` relocation. Differential Revision: https://reviews.llvm.org/D64552 llvm-svn: 365870
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
0 files changed, 0 insertions, 0 deletions