aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-09-22 21:08:51 +0000
committerDavide Italiano <davide@freebsd.org>2016-09-22 21:08:51 +0000
commit49ab2517f5d7e29b3e01bb73076077c9ce035b20 (patch)
tree61b1ccf7cf0b539e927dbde7b122d1379f8cfb2f /llvm/lib/CodeGen/MachineScheduler.cpp
parent7176862809a97d189ff5c82711f4d7afffb4dbe8 (diff)
downloadllvm-49ab2517f5d7e29b3e01bb73076077c9ce035b20.zip
llvm-49ab2517f5d7e29b3e01bb73076077c9ce035b20.tar.gz
llvm-49ab2517f5d7e29b3e01bb73076077c9ce035b20.tar.bz2
[ELF/GC] Don't crash while processing Discarded sections.
The ELF spec doesn't allow relocations to point directly to a deduplicated COMDAT section but this unfortunately happens in practice. Bail out early instead of crashing. Differential Revision: https://reviews.llvm.org/D24750 llvm-svn: 282197
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions