]> granicus.if.org Git - llvm/commit
[COFF] Improve the check for functions that should get an extra underscore
authorMartin Storsjo <martin@martin.st>
Mon, 23 Oct 2017 09:08:13 +0000 (09:08 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 23 Oct 2017 09:08:13 +0000 (09:08 +0000)
commite893335ed8fab65f7de5584aacd9318efe251cdd
tree80dcb0f302b19db0d7ab1650f76859051ab2c42c
parent1d7dfd3aadffde91dd5280163ba9acbfda8e7016
[COFF] Improve the check for functions that should get an extra underscore

This fixes exporting functions starting with an underscore, and
fully decorated fastcall/vectorcall functions.

Tests will be added in the lld repo.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/COFFModuleDefinition.cpp
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp