diff options
author | Reid Kleckner <rnk@google.com> | 2018-11-08 18:38:17 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-11-08 18:38:17 +0000 |
commit | 7a44fe956a249585187cd5f82a0683dc117e0ae8 (patch) | |
tree | b5e20d00dc7a1d7e5af35d4584f7fbcf15416ef3 /lldb/packages/Python/lldbsuite/test | |
parent | c4f719feb0f5370330d3038a05780e8524650298 (diff) | |
download | bcm5719-llvm-7a44fe956a249585187cd5f82a0683dc117e0ae8.tar.gz bcm5719-llvm-7a44fe956a249585187cd5f82a0683dc117e0ae8.zip |
[COFF] Improve relocation against discarded section error
Summary:
Reuse the "referenced by" note diagnostic code that we already use for
undefined symbols. In my case, it turned this:
lld-link: error: relocation against symbol in discarded section: .text
lld-link: error: relocation against symbol in discarded section: .text
...
Into this:
lld-link: error: relocation against symbol in discarded section: .text
>>> referenced by libANGLE.lib(CompilerGL.obj):(.SCOVP$M)
>>> referenced by libANGLE.lib(CompilerGL.obj):(.SCOVP$M)
...
lld-link: error: relocation against symbol in discarded section: .text
>>> referenced by obj/third_party/angle/libGLESv2/entry_points_egl_ext.obj:(.SCOVP$M)
>>> referenced by obj/third_party/angle/libGLESv2/entry_points_egl_ext.obj:(.SCOVP$M)
...
I think the new output is more useful.
Reviewers: ruiu, pcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D54240
llvm-svn: 346427
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions