diff options
author | Fangrui Song <maskray@google.com> | 2019-12-19 16:04:45 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-12-23 09:10:29 -0800 |
commit | 261b7b4a6b06dd32bea46383f8fef1e56e68c88a (patch) | |
tree | efc5eb0ba9dbdf00dd5fef37058dfa08ce524de2 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | c7c05b0c8a046c9bef46b4e4c7a35c262d1d880a (diff) | |
download | bcm5719-llvm-261b7b4a6b06dd32bea46383f8fef1e56e68c88a.tar.gz bcm5719-llvm-261b7b4a6b06dd32bea46383f8fef1e56e68c88a.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions