diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2018-02-19 11:00:15 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2018-02-19 11:00:15 +0000 |
commit | 048e2508ad289da30008863bbb104419f8dbfe6f (patch) | |
tree | 8762815dea85c8736429d0fd38acf66aad137275 /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | d3dd9cc869df61197a4734f3f0271a178df5c609 (diff) | |
download | llvm-048e2508ad289da30008863bbb104419f8dbfe6f.zip llvm-048e2508ad289da30008863bbb104419f8dbfe6f.tar.gz llvm-048e2508ad289da30008863bbb104419f8dbfe6f.tar.bz2 |
Rename DynamicReloc::getAddend() to computeAddend(). NFC
Summary:
Before the name of the function sounded like it was just a getter for the
private class member Addend. However, it actually calculates the final
value for the r_addend field in Elf_Rela that is used when writing the
.rela.dyn section. I also added a comment to the UseSymVA member to
explain how it interacts with computeAddend().
Differential Revision: https://reviews.llvm.org/D43161
llvm-svn: 325485
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions