]> granicus.if.org Git - llvm/commit
[llvm-dlltool] Respect NONAME keyword
authorMartin Storsjo <martin@martin.st>
Wed, 22 May 2019 09:49:54 +0000 (09:49 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 22 May 2019 09:49:54 +0000 (09:49 +0000)
commit7a38c439b6df87ff25c3c67004679ebd4c6ac823
tree29e68fabc09fd449a2f7e0f3fb069db26d55eb31
parentb28815004b9eadbb24bc18d1964854d5c16dd987
[llvm-dlltool] Respect NONAME keyword

This adds proper handling of the NONAME-keyword, which makes llvm-dlltool
generate an import using the ordinal instead of the name.

Patch by by Jannik Vogel, test added by Stefan Schmidt.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361367 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/COFFImportFile.cpp
test/tools/llvm-dlltool/coff-noname.def [new file with mode: 0644]