[all-commits] [llvm/llvm-project] 261b7b: [ELF] Don't suggest an alternative spelling for a ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Dec 23 09:11:06 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 261b7b4a6b06dd32bea46383f8fef1e56e68c88a
https://github.com/llvm/llvm-project/commit/261b7b4a6b06dd32bea46383f8fef1e56e68c88a
Author: Fangrui Song <maskray at google.com>
Date: 2019-12-23 (Mon, 23 Dec 2019)
Changed paths:
M lld/ELF/Relocations.cpp
A lld/test/ELF/undef-not-suggest.test
Log Message:
-----------
[ELF] Don't suggest an alternative spelling for a symbol in a discarded section
For undef-not-suggest.test, we currently make redundant alternative
spelling suggestions:
```
ld.lld: error: relocation refers to a discarded section: .text.foo
>>> defined in a.o
>>> section group signature: foo
>>> prevailing definition is in a.o
>>> referenced by a.o:(.rodata+0x0)
>>> did you mean:
>>> defined in: a.o
ld.lld: error: relocation refers to a symbol in a discarded section: foo
>>> defined in a.o
>>> section group signature: foo
>>> prevailing definition is in a.o
>>> referenced by a.o:(.rodata+0x8)
>>> did you mean: for
>>> defined in: a.o
```
Reviewed By: grimar, ruiu
Differential Revision: https://reviews.llvm.org/D71735
More information about the All-commits
mailing list