[PATCH] D44292: [LLD] [COFF, MinGW] Implement the GNU ld flag --kill-at

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 09:38:38 PDT 2018


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm

I'm curious, what is the use case for this feature? The binutils docs describe exactly what it does but not why one would want to use it.



================
Comment at: test/COFF/def-export-stdcall.s:75
+# MINGW-KILL-AT-IMPLIB-NEXT: __imp__stdcall
+# MINGW-KILL-AT-IMPLIB-NEXT: _stdcall
+
----------------
We might as well test vectorcall for completeness.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44292





More information about the llvm-commits mailing list