COFF: Allow identical alternatename options.
authorRui Ueyama <ruiu@google.com>
Thu, 18 Jun 2015 23:04:26 +0000 (23:04 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 18 Jun 2015 23:04:26 +0000 (23:04 +0000)
commite8d56b5258012dffdc0ea6dfa57168a1a2d83403
tree49bfb6acce9526fe08dd102ade31fa25a0b13cdd
parent82a9a7e42cf7a1111438f9064752404da38ca6e4
COFF: Allow identical alternatename options.

Alternatename option is in the form of /alternatename:<from>=<to>.
It is an error if there are two options having the same <from> but
different <to>. It is *not* an error if both are the same.

llvm-svn: 240075
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/DriverUtils.cpp
lld/test/COFF/alternatename.test