[PATCH] D39512: [LLD] [MinGW] Pass the -lldmap flag through

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 15:06:28 PDT 2017


mstorsjo added a comment.

In https://reviews.llvm.org/D39512#913189, @ruiu wrote:

> There's a hidden path to pass information to the lld-link driver; LINK environment variable is interpreted and parsed as part of command line. Maybe you can use it for debugging?


Oh, I didn't know about that - that would have worked for the case when I needed -lldmap now at least. Despite that I think some less obscure way to pass things through the MinGW frontend would be good as well - I can try to implement it using e.g. `-Xlink` unless you think I shouldn't.


https://reviews.llvm.org/D39512





More information about the llvm-commits mailing list