aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-11-01 08:40:28 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-11-01 08:40:28 +0000
commit1b45d377e39431fd13b336adcaa6c8d172b75bbe (patch)
tree4f0d3da11ef6ec125f0417ba61a21c935316a5cb /llvm/lib/Object/WindowsResource.cpp
parentf2c2851efe0505328d1f4074b313a2922bcd8f2c (diff)
downloadllvm-1b45d377e39431fd13b336adcaa6c8d172b75bbe.zip
llvm-1b45d377e39431fd13b336adcaa6c8d172b75bbe.tar.gz
llvm-1b45d377e39431fd13b336adcaa6c8d172b75bbe.tar.bz2
[ELF] - Cleanup of processSectionCommands().
The way we handle ONLY_IF_RO/ONLY_IF_RW constraints in processSectionCommands is a bit tricky. If input sections does no satisfy given constraint we remove command from commands list. It seems too complex, what we can do instead is to make the OutputCommand empty. So that at later steps LLD will remove it just like it deal with other empty output commands. That allows to simplify the loop a bit. Differential revision: https://reviews.llvm.org/D39094 llvm-svn: 317082
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions