craig.topper added a comment.

In D70157#1745127 <https://reviews.llvm.org/D70157#1745127>, @skan wrote:

> In D70157#1745125 <https://reviews.llvm.org/D70157#1745125>, @craig.topper 
> wrote:
>
> > I've definitely passed something like 
> > -Wl,--plugin-opt=-debug-only=isel,dagcombine on the command line before.
>
>
> I don't know how you could pass it succcessfully.  It doesn't work for me 
> either.  Here is the complain:
>
>   clang --gcc-toolchain=xxxxxx -fuse-ld=gold       -march=skylake-avx512 
> -mfpmath=sse -Ofast -funroll-loops -flto       
> -Wl,-plugin-opt=-debug-only=isel,dagcombine         xxx.o main.o             
> -lm         -o xxx
>   /usr/bin/ld.gold: error: cannot open dagcombine: No such file or directory
>


Does it work as -Wl,-plugin-opt="-debug-only=isel,dagcombine" ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70157



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to