aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-06-22 09:10:38 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-06-22 09:10:38 +0000
commit50b80359c0cf3b175b7dbed8cf94b4dccdb349c6 (patch)
treefe7e7171cc51bfcc68147d2f992232c5644e5164 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent351a70978165b696ba81ff3ade5cb3ae44b3a8cf (diff)
downloadllvm-50b80359c0cf3b175b7dbed8cf94b4dccdb349c6.zip
llvm-50b80359c0cf3b175b7dbed8cf94b4dccdb349c6.tar.gz
llvm-50b80359c0cf3b175b7dbed8cf94b4dccdb349c6.tar.bz2
[ELF] - Do not allow to mix global symbols versions.
For next version script: VER1{ global: a; }; VER2{ global: a; }; gold would produce warning like: "warning: using 'VER1' as version for 'a' which is also named in version 'VER2' in script." Documentation also says we do not want this duplications (https://people.freebsd.org/~deischen/symver/library_versioning.txt): "Note that you do not want to duplicate symbols in the map file. The .symver directives are all that is required to add compatibility symbols into old versions." This patch restricts such mixing and makes lld to produce error in this case. Differential revision: http://reviews.llvm.org/D21555 llvm-svn: 273396
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions