diff options
author | Fangrui Song <maskray@google.com> | 2019-07-11 11:16:44 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-11 11:16:44 +0000 |
commit | be8275753fe23fb56c4cb5127695dad540b9053c (patch) | |
tree | f00e3743a1b6adadc0ddf63ddeadd08aed3a44f2 /lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp | |
parent | e23be09e66d6860ec739b57d7821a7671d715a35 (diff) | |
download | bcm5719-llvm-be8275753fe23fb56c4cb5127695dad540b9053c.tar.gz bcm5719-llvm-be8275753fe23fb56c4cb5127695dad540b9053c.zip |
[ELF] Warn rather than error when duplicate version assignments occur
In lvm2, libdevmapper.so is linked with a version script with duplicate
version assignments:
DM_1_02_138 { global: ... dm_bitset_parse_list; ... };
DM_1_02_129 { global: ... dm_bitset_parse_list; ... };
ld.bfd silently accepts this while gold issues a warning. We currently
error, thus inhibit producing the executable. Change the error to
warning to allow this case, and improve the message.
There are some cases where ld.bfd error
`anonymous version tag cannot be combined with other version tags`
but we just warn. It is probably OK for now.
Reviewed By: grimar, ruiu
Differential Revision: https://reviews.llvm.org/D64549
llvm-svn: 365759
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp')
0 files changed, 0 insertions, 0 deletions