On 2016.09.06 at 13:17 +0200, Richard Biener wrote: > > The following is an updated patch, mainly stripped out old unnecessary > cruft and some fixes for an issue that arised when LTOing Firefox.
One minor issue that I've noticed is that the patch generates a lot of empty *debugobj* files in $TMPDIR, e.g.: % echo 'int main(){}' | g++ -flto -o /dev/null-x c++ - % ls -l $TMPDIR total 0 -rw-------. 1 trippels trippels 0 Sep 6 12:11 ccenD5Tcdebugobj -rw-------. 1 trippels trippels 0 Sep 6 12:11 ccXzvE4udebugobjtem The new patch builds LLVM fine with "-flto -g". -- Markus