aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorAlexander Richardson <arichardson.kde@gmail.com>2018-02-19 11:00:15 +0000
committerAlexander Richardson <arichardson.kde@gmail.com>2018-02-19 11:00:15 +0000
commit048e2508ad289da30008863bbb104419f8dbfe6f (patch)
tree8762815dea85c8736429d0fd38acf66aad137275 /llvm/lib/IR/ModuleSummaryIndex.cpp
parentd3dd9cc869df61197a4734f3f0271a178df5c609 (diff)
downloadllvm-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