diff options
author | Eric Christopher <echristo@apple.com> | 2012-01-10 00:38:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-01-10 00:38:01 +0000 |
commit | 8f0a403945b60a8a8a56a7721bb66f6b84ec129b (patch) | |
tree | 69f856e6a12fca867bf6735182c05fca7731fdc2 /lib/CodeGen/CGExprConstant.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions