MatzeB added a comment. - Do non gold linkers all accept the `-Wl,-plugin-opt` lines? - Maybe the clang driver knows if a gold linker is used and could add the `-Wl,-plugin` opt lines itself when -save-stats is used? https://reviews.llvm.org/D45558