diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-12-14 06:23:50 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-12-14 06:23:50 +0000 |
commit | f01caab4b7ee9673d010c849b5a77c2489670db7 (patch) | |
tree | 69915328c76747a568aa27ec11e3b24514134ff3 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | b308cace8496a54e4674b305481f7e5886284306 (diff) | |
download | llvm-f01caab4b7ee9673d010c849b5a77c2489670db7.zip llvm-f01caab4b7ee9673d010c849b5a77c2489670db7.tar.gz llvm-f01caab4b7ee9673d010c849b5a77c2489670db7.tar.bz2 |
[ELF] Prevent crash in writing an .ARM.exidx sentinel entry.
We might crash in 'ARMExidxSentinelSection::writeTo()' because it expected
the sentinel entry to be put in the same 'InputSectionDescription' as
the last real entry. This assumption fails if the last output section command
for .ARM.exidx is anything but an input section description, because in this
case 'OutputSection::addSection()' creates a new 'InputSectionDescription'.
Differential Revision: https://reviews.llvm.org/D41105
llvm-svn: 320668
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions