pcc added a comment. I'm not sure, I'm not an expert on the Linux build system. There's probably some link rule somewhere that contains something like `-o $@`, maybe you can change it to say `-o $@ -plugin-opt=obj-path=$@.o`? Repository: rL LLVM https://reviews.llvm.org/D50803