[PATCH] D158412: [LLD] [MinGW] Pass LLVM specific LTO options through to lld-link
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 22 09:14:26 PDT 2023
MaskRay accepted this revision.
MaskRay 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
----------------
backslashes may need quotes to prevent problems.
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