diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-11-01 09:20:06 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-11-01 09:20:06 +0000 |
commit | 3608decaa5285e5e2d60fade30b57b82d82c2fff (patch) | |
tree | 66e497a41ff0516e91c85c47f881fa11f268e0da /llvm/lib/Support/LineIterator.cpp | |
parent | 6749c24f408a3e1e1209c01ac9655eb5b302bd29 (diff) | |
download | bcm5719-llvm-3608decaa5285e5e2d60fade30b57b82d82c2fff.tar.gz bcm5719-llvm-3608decaa5285e5e2d60fade30b57b82d82c2fff.zip |
[ELF] - Do not crash when -r output uses linker script with `/DISCARD/`
This is https://bugs.llvm.org/show_bug.cgi?id=39493.
We crashed previously because did not handle /DISCARD/ properly
when -r was used. I think it is uncommon to use scripts with -r, though I see
nothing wrong to handle the /DISCARD/ so that we will not crash at least.
Differential revision: https://reviews.llvm.org/D53864
llvm-svn: 345819
Diffstat (limited to 'llvm/lib/Support/LineIterator.cpp')
0 files changed, 0 insertions, 0 deletions