Chad Rosier
2ad368fce3
[driver] Add support for -g2 and -ggdb debug flags.
...
rdar://10947759
llvm-svn: 151654
2012-02-28 20:49:04 +00:00
NAKAMURA Takumi
5a5bb93004
test/Driver/debug-options*.c: Tweak r147819 to split out another cc1as-sensitive test. gcc driver is invoked for assembling on cygming.
...
llvm-svn: 148022
2012-01-12 06:15:01 +00:00
Eric Christopher
fc3ee566eb
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.
llvm-svn: 147819
2012-01-10 00:38:01 +00:00
NAKAMURA Takumi
84a5dfdf72
Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it as XFAIL: mingw32.
...
Mingw32 target has not supported integrated-as yet.
llvm-svn: 147386
2011-12-31 02:36:23 +00:00
Kevin Enderby
292dc080e0
Last part of support for generating dwarf for assembly source files. This gets
...
the clang driver to enable this when assembling a .s file. rdar://9275556
llvm-svn: 147167
2011-12-22 19:31:58 +00:00
Chad Rosier
c2bf338d35
[driver] Don't blindly accept all -g options.
...
rdar://10383444
llvm-svn: 143732
2011-11-04 19:28:44 +00:00