diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2017-08-24 21:56:58 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2017-08-24 21:56:58 +0000 |
commit | c5455e237f05bc10a677cd2c5fa9b8a579e9a202 (patch) | |
tree | 883ebebbcf55e49cea7c9319f4e62cbc99a8cda6 /llvm/lib/Support/CommandLine.cpp | |
parent | 204cae99bb60dfd33e73a05e9c7cde0a939c762f (diff) | |
download | llvm-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