COFF: Fix export symbol names for x86.
authorRui Ueyama <ruiu@google.com>
Tue, 28 Jul 2015 22:34:24 +0000 (22:34 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 28 Jul 2015 22:34:24 +0000 (22:34 +0000)
commit9420dee32868e9c873aca51d686426a90a2b693b
tree28625f496bb582da7c4769d5b052a1ab69c09474
parent7651dd8359c70035ee12a3bafdb25062bb3e90a2
COFF: Fix export symbol names for x86.

I don't fully understand the rationale behind the name mangling
scheme used for the DLL export table and the import library.
Why only leading "_" is dropped for the import library while
both "_" and "@" are dropped from DLL symbol table? But this seems
to be what MSVC linker does.

llvm-svn: 243490
lld/COFF/Config.h
lld/COFF/DLL.cpp
lld/COFF/DriverUtils.cpp
lld/test/COFF/Inputs/export32.yaml [deleted file]
lld/test/COFF/export32.test