diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-15 15:52:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-15 15:52:12 +0000 |
commit | aa19708f88e4f8444d59e8250796610712026c1b (patch) | |
tree | 434deec0a51ecce07eeda93dea4f0656fa78b965 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 9ea61afc866d008597f0c58cea99b77c2913d211 (diff) | |
download | llvm-aa19708f88e4f8444d59e8250796610712026c1b.zip llvm-aa19708f88e4f8444d59e8250796610712026c1b.tar.gz llvm-aa19708f88e4f8444d59e8250796610712026c1b.tar.bz2 |
Centralize the handling of r_addend. NFC.
When a relocation points to a SHF_MERGE section, the addend has special meaning.
It should be used to find what in the section the relocation points to. It
should not be added to the output position.
Centralizing it means that the above rule will be implemented once, not once
per target.
llvm-svn: 250421
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions