summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/COFFModuleDefinition.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-09-13 07:54:47 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-09-13 07:54:47 +0000
commitcb888a620d61da9b12639d24779a7c62b03f06f1 (patch)
tree45a7ca5db39ad35f5e182b449c43029dd0d686ea /llvm/lib/Object/COFFModuleDefinition.cpp
parent2b6bfda5610d97755b5de4c427e1e4993351335f (diff)
downloadbcm5719-llvm-cb888a620d61da9b12639d24779a7c62b03f06f1.tar.gz
bcm5719-llvm-cb888a620d61da9b12639d24779a7c62b03f06f1.zip
[ELF] - Refactor of Writer<ELFT>::forEachRelSec.
There is no need to scan over all input sections for relocatable output. As we do not process or scan relocations anyways. Patch moves check for Config->Relocatable out to avoid that and also removes excessive check for isa<EhInputSection> from first for loop. It is excessive because we handle all of them in a second for loop below. That all allowed to simplify code. Differential revision: https://reviews.llvm.org/D37746 llvm-svn: 313127
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud