summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-10-23 00:51:08 +0000
committerPetr Hosek <phosek@chromium.org>2017-10-23 00:51:08 +0000
commit2fd533db9f7b121d19b5f9b9d5a7692e7b2b0fee (patch)
tree4b029e8bd5e235cc18baf58072a56023d154325d /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
parent8faafa4fb1452b45f7b5bcf77f4e44a6846f6f70 (diff)
downloadbcm5719-llvm-2fd533db9f7b121d19b5f9b9d5a7692e7b2b0fee.tar.gz
bcm5719-llvm-2fd533db9f7b121d19b5f9b9d5a7692e7b2b0fee.zip
[ELF] When placing orphans, handle case when last section is dead
r315292 introduced a change that's supposed to consistently ignore "dead" output sections when placing orphans. Unfortunately, that change doesn't handle the special case when the orphan section is second to last section and the last section is dead (e.g. because it's being discarded) introducing a regression in some cases. This change handles this case by using the same predicate when checking the last section. Differential Revision: https://reviews.llvm.org/D39172 llvm-svn: 316307
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud