commit | 61ada0a7a8e743a50f5f8305e2e49d4447212a69 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Fri Apr 20 20:05:08 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Fri Apr 20 20:05:08 2012 +0000 |
tree | 89539489d86ff46941cedf0c22add997c1e3e782 | |
parent | 704c8f76bbe2de68375f7f146e75bd74de6dd518 [diff] |
In r135308, -save-temps was modified to prevent a temporary file from overwriting the input file. For example, clang -c foo.s -o foo.o -save-temps Unfortunately, the original patch didn't compare the paths of the input and output files. Thus, something like the following would fail to create foo.s. cd /tmp/obj clang -c ../src/foo.s -o foo.o -save-temps rdar://11252615 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155224 91177308-0d34-0410-b5e6-96231b3b80d8