-split-objs doesn't work for executables
While investigating this bug report, I've noticed that the -split-objs
option only works for libraries, but not for executables. That is, unlike in the case of libraries, the driver feeds only A.o B.o ...
files to the linker instead of A_split_0.o A_split_1.o ... B_split_0.o B_split_1.o ...
. It'd be nice if -split-objs
could be changed to also work on executables.