diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-31 19:09:52 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-31 19:09:52 +0000 |
commit | b47c6e5cbdad3696ed890e32c36021849a1cba47 (patch) | |
tree | 98708246e3de338122c050aa704fd3f758c51f65 /llvm/lib/IR/Function.cpp | |
parent | 0064858b0eefe43d74b4810559e041a995131589 (diff) | |
download | bcm5719-llvm-b47c6e5cbdad3696ed890e32c36021849a1cba47.tar.gz bcm5719-llvm-b47c6e5cbdad3696ed890e32c36021849a1cba47.zip |
Fix a crash.
We would crash if a SHF_LINK_ORDER section pointed to a non
InputSection section. Since those sections are not merged in order,
SHF_LINK_ORDER is pretty meaningless and we can error on that case.
llvm-svn: 304327
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions