[llvm-dlltool] Handle external and internal names with differing decoration
commit86eeac562077894d1cd7ed10e31ad103848fcc19
authorMartin Storsjo <martin@martin.st>
Mon, 2 Sep 2019 13:28:16 +0000 (2 13:28 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 2 Sep 2019 13:28:16 +0000 (2 13:28 +0000)
treeda1f6d531bcf989eb849f05d1746e56dbe10de95
parentd92b9bfef9bd619b59a6dba45eb9298d94042c16
[llvm-dlltool] Handle external and internal names with differing decoration

Also add a missed part of the test from SVN r369747.

Differential Revision: https://reviews.llvm.org/D66996

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370656 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
test/tools/llvm-dlltool/coff-decorated.def