During LTO, we call 'dsymutil' when we compile source files. This necessitates
authorBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 18:02:50 +0000 (18:02 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 18:02:50 +0000 (18:02 +0000)
commit3b2000fcac25bdb190d0db6fb1b706dc42ee605c
treed74f70808ea42a32e21bab9cc8a601449a8443ca
parent3903e05244c19e8ad0c59882cb2dccc5a132c1cd
During LTO, we call 'dsymutil' when we compile source files. This necessitates
clang specifying a temporary file that it later cleans up so that it can survive
the linking stage. However, when we compile object files during LTO we don't
call 'dsymutil'. That's done at a different stage (if at all). We rely upon the
linker to specify a unique name for the temporary file it generates.
<rdar://problem/12401423>

llvm-svn: 165028
clang/lib/Driver/Tools.cpp
clang/lib/Driver/Tools.h