aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2020-10-27 09:30:10 -0700
committerFangrui Song <i@maskray.me>2020-10-28 08:56:42 -0700
commitae73091f30245852817c5c0af050a5a731dee50a (patch)
treee7dd04cb586b2c753e0090b42a8f7820715aa87e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0d17dc2e75428885e37e53a1524ce7b607501cfa (diff)
downloadllvm-ae73091f30245852817c5c0af050a5a731dee50a.zip
llvm-ae73091f30245852817c5c0af050a5a731dee50a.tar.gz
llvm-ae73091f30245852817c5c0af050a5a731dee50a.tar.bz2
[ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan
Fixes https://github.com/ClangBuiltLinux/linux/issues/1186 If a non-SHF_LINK_ORDER orphan is added first, `firstIsec->flags & SHF_LINK_ORDER` will be zero and we currently assert when calling `getLinkOrderDep`. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D90200
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions