summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug-options.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce temp file pollution in some test cases.Benjamin Kramer2012-08-031-1/+1
| | | | llvm-svn: 161237
* Improve support for -g options accepted by Clang:Alexey Samsonov2012-06-211-36/+30
| | | | | | | | 1. Accept flags -g[0-3], -ggdb[0-3], -gdwarf-[2-4] and collapse them to simple -g (except -g0/-ggdb0). 2. Produce driver error on unsupported formats (-gcoff, -gstabs, -gvms) and options (-gtoggle). 3. Recognize and ignore flags -g[no-]strict-dwarf, -g[no-]record-gcc-switches. llvm-svn: 158906
* Make Clang driver pass the last option from -g group to the compiler.Alexey Samsonov2012-05-291-1/+19
| | | | | | Leave a better fixme for different debug info flags llvm-svn: 157602
* This patch adds a new Clang compiler flag "-gline-tables-only".Alexey Samsonov2012-05-041-0/+5
| | | | | | | | | | | | | | It reduces the amount of emitted debug information: 1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram, DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only. 2) .debug_str contains only function names. 3) No debug data for types/namespaces/variables is emitted. 4) The data in .debug_line is enough to produce valid stack traces with function names and line numbers. Reviewed by Eric Christopher. llvm-svn: 156160
* [driver] Add support for -g2 and -ggdb debug flags.Chad Rosier2012-02-281-0/+8
| | | | | | rdar://10947759 llvm-svn: 151654
* test/Driver/debug-options*.c: Tweak r147819 to split out another ↵NAKAMURA Takumi2012-01-121-4/+0
| | | | | | cc1as-sensitive test. gcc driver is invoked for assembling on cygming. llvm-svn: 148022
* Add -g to the cc1as flags only if we're dealing with an originalEric Christopher2012-01-101-0/+4
| | | | | | | | | 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
* Split out clang/test/Driver/debug-options-as.c from debug-options.c, and ↵NAKAMURA Takumi2011-12-311-7/+0
| | | | | | | | mark it as XFAIL: mingw32. Mingw32 target has not supported integrated-as yet. llvm-svn: 147386
* Last part of support for generating dwarf for assembly source files. This getsKevin Enderby2011-12-221-0/+7
| | | | | | the clang driver to enable this when assembling a .s file. rdar://9275556 llvm-svn: 147167
* [driver] Don't blindly accept all -g options.Chad Rosier2011-11-041-0/+19
rdar://10383444 llvm-svn: 143732
OpenPOWER on IntegriCloud