[PATCH] D158412: [LLD] [MinGW] Pass LLVM specific LTO options through to lld-link
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 22 09:20:18 PDT 2023
mstorsjo added inline comments.
================
Comment at: lld/test/MinGW/driver.test:381
+RUN: ld.lld -### foo.o -m i386pep -plugin /usr/lib/gcc/x86_64-w64-mingw32/10-posix/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-w64-mingw32/10-posix/lto-wrapper -plugin-opt=-fresolution=/tmp/ccM9d4fP.res -plugin-opt=-pass-through=-lmingw32 2> /dev/null
+RUN: ld.lld -### foo.o -m i386pep -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/liblto_plugin.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\msys64\tmp\cckbC7wB.res -plugin-opt=-pass-through=-lmingw32 2> /dev/null
----------------
MaskRay wrote:
> backslashes may need quotes to prevent problems.
Oh, I missed that there were some backslashes, I'll change them to forward slashes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158412/new/
https://reviews.llvm.org/D158412
More information about the llvm-commits
mailing list