summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug-options.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Debug info: Make DWARF4 the default for Darwin, too."Adrian Prantl2014-02-171-2/+13
| | | | | | | | | I'm holding this change to give maintainers of Darwin buildbots more time to update their toolchains. This reverts commit r201375. llvm-svn: 201520
* Add a command line option -gdwarf-aranges that will turn on emittingEric Christopher2014-02-141-1/+5
| | | | | | the dwarf .debug_aranges section. llvm-svn: 201379
* Debug info: Make DWARF4 the default for Darwin, too.Adrian Prantl2014-02-141-13/+2
| | | | llvm-svn: 201375
* Driver: support -fno-debug-types-section to override -fdebug-types-sectionDavid Blaikie2014-01-271-0/+6
| | | | llvm-svn: 200236
* Driver support for -fdebug-types-sectionsDavid Blaikie2014-01-181-2/+6
| | | | | | | | | Using backend-option like a few other debug codegen flags. I believe Eric Christopher's working at porting those over to something nicer such as an API level CodeGenOptions or the like, so this can be improved along with that work. llvm-svn: 199535
* Set default Dwarf Version for -gline-tables-only on Darwin to 2.Manman Ren2013-11-201-0/+8
| | | | | | | | | We are still using Dwarf Version 2 for Darwin systems, make it consistent with -gline-tables-only. This should fix an internal buildbot. llvm-svn: 195267
* Add support for -ggnu-pubnames matching the llvm support.Eric Christopher2013-09-131-0/+4
| | | | llvm-svn: 190729
* Update testing cases to check dwarf-2 for Darwin.Manman Ren2013-07-031-10/+39
| | | | llvm-svn: 185577
* Debug Info: set default to gdwarf-2 for Darwin.Manman Ren2013-07-021-2/+3
| | | | | | | | | | | | Darwin systems currently do not support dwarf version 3 or above. When we are ready, we can bump the default to gdwarf-4 for Darwin. For other systems, the default is dwarf version 3, if everything goes smoothly, we can bump the version to 4. rdar://13591116 llvm-svn: 185483
* Debug Info: support for gdwarf-2 gdwarf-3 gdwarf-4Manman Ren2013-06-191-1/+4
| | | | | | | | These options will add a module flag with name "Dwarf Version". The behavior flag is currently set to Warning, so when two values disagree, a warning will be emitted. llvm-svn: 184276
* Accept and ignore -fdebug-types-section for now. This will be usedEric Christopher2013-06-181-1/+2
| | | | | | later with dwarf4 type hashing. llvm-svn: 184152
* FileCheck-ize.Eric Christopher2013-06-181-2/+4
| | | | llvm-svn: 184151
* 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