[PATCH] D68352: [lld] Don't create hints-section if Hint/Name Table is empty

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 00:02:15 PDT 2019


ruiu added inline comments.


================
Comment at: lld/test/COFF/imports-ordinal-only.s:3
+#
+# RUN: llvm-dlltool -k -m i386 --input-def %p/Inputs/ordinal-only-implib.def --output-lib %t-implib.a
+# RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj
----------------
mstorsjo wrote:
> A general comment (I meant to write this yesterday but I forgot); llvm-dlltool generally is a MinGW specific tool which can imply MinGW specific quirks. In this case I don't think there's anything specific which would introduce unexpected/unintended details, but I think it also might be possible to generate the implib with `lld-link -def:ordinal-only-implib.def -implib:%t-implib.a`
I will make change as you suggested. Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68352/new/

https://reviews.llvm.org/D68352





More information about the llvm-commits mailing list