aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2017-08-24 21:56:58 +0000
committerSimon Atanasyan <simon@atanasyan.com>2017-08-24 21:56:58 +0000
commitc5455e237f05bc10a677cd2c5fa9b8a579e9a202 (patch)
tree883ebebbcf55e49cea7c9319f4e62cbc99a8cda6 /llvm/lib/Support/CommandLine.cpp
parent204cae99bb60dfd33e73a05e9c7cde0a939c762f (diff)
downloadllvm-c5455e237f05bc10a677cd2c5fa9b8a579e9a202.zip
llvm-c5455e237f05bc10a677cd2c5fa9b8a579e9a202.tar.gz
llvm-c5455e237f05bc10a677cd2c5fa9b8a579e9a202.tar.bz2
[MIPS] Keep all code read addends in the `getImplicitAddend` function
Currently LLD reads the R_MIPS_HI16's addends in the `computeMipsAddend` function, the R_MIPS_LO16's addends in both `computeMipsAddend` and `getImplicitAddend` functions. This patch moves reading all addends to the `getImplicitAddend` function. As a side effect it fixes a "paired" HI16/LO16 addend calculation if "LO16" part of a pair is not found. llvm-svn: 311711
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions