diff options
author | Eugene Leviant <evgeny.leviant@gmail.com> | 2016-10-12 12:31:34 +0000 |
---|---|---|
committer | Eugene Leviant <evgeny.leviant@gmail.com> | 2016-10-12 12:31:34 +0000 |
commit | cc1ba8c7d04cc2c1a0ae1d0191acde31e00ee76d (patch) | |
tree | d1a8d226d954b82ee394533a1318c695f83ad9e8 /llvm/lib/Target/X86/X86TargetTransformInfo.cpp | |
parent | c7d16f4e053bd9daa2414630a81ce60d797dd8eb (diff) | |
download | bcm5719-llvm-cc1ba8c7d04cc2c1a0ae1d0191acde31e00ee76d.tar.gz bcm5719-llvm-cc1ba8c7d04cc2c1a0ae1d0191acde31e00ee76d.zip |
Alternative fix for reloc tareting discarded section
r283984 introduced a problem of too many warning messages being shown
when -ffunction-sections and -fdata-sections were used in conjunction
with --gc-sections linker flag and debugging information present. This
happens because lot of relocations from .debug_line section may become
invalid in such case. The newer fix doesn't show any warning message but
zeroes OutSec pointer in createInputSectionList() to avoid crash, when
relocations are written
llvm-svn: 284010
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions