commit | 8f0a403945b60a8a8a56a7721bb66f6b84ec129b | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Tue Jan 10 00:38:01 2012 +0000 |
committer | Eric Christopher <echristo@apple.com> | Tue Jan 10 00:38:01 2012 +0000 |
tree | 69f856e6a12fca867bf6735182c05fca7731fdc2 | |
parent | 46d2a5c7f95a5dc2df95103c82802d2324b333e9 [diff] |
Add -g to the cc1as flags only if we're dealing with an original source file. Otherwise -g -save-temps will error out on the compile of any .c file. Fixes about 4000 of the errors in the clang-tests gdb test suite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147819 91177308-0d34-0410-b5e6-96231b3b80d8