summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug-options-as.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop messing with the 'g' group of options in CompilerInvocation.Douglas Katzman2015-10-081-3/+6
| | | | | | | | | | | | | | | | With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation. Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed. Differential Revision: http://reviews.llvm.org/D13221 llvm-svn: 249655
* Alias "-ggdbN" to "-gN" options, fixing some incompatibilities.Douglas Katzman2015-09-301-4/+9
| | | | | | | * assembling from a .s file mistook -ggdb0 for -g * -ggdb1 is supposed to mean basically -g1, not -gN for N>1 llvm-svn: 248912
* clang/test/Driver: Remove the feature "clang-driver" since gcc-as has not ↵NAKAMURA Takumi2013-08-201-3/+0
| | | | | | been used with -integrated-as since r177360. llvm-svn: 188789
* We want the dwarf AT_producer for assembly source files to match clang'sKevin Enderby2013-01-171-0/+9
| | | | | | | | | | | | | | | | AT_producer. Which includes clang's version information so we can tell which version of the compiler was used. This is second of the two steps to allow us to do this. The first was a change to llvm-mc with revision 172630 to provide a method to set the AT_producer string. This second step has the clang driver passing the value of getClangFullVersion() via the new flag -dwarf-debug-producer when invoking the integrated assembler on assembly source files. Then using the new setDwarfDebugProducer() method to set the AT_producer string. rdar://12888242 llvm-svn: 172758
* clang/test/Driver/debug-options-as.c: Fixup not to use prefix=S. I didn't ↵NAKAMURA Takumi2012-12-111-3/+3
| | | | | | know "REQUIRES:" would match --check-prefix=S ... llvm-svn: 169826
* clang/test/Driver: Introduce the feature "clang-driver", set if gcc driver ↵NAKAMURA Takumi2012-12-111-1/+1
| | | | | | | | is not used. It is not set at targetting cygming. See PR12920. llvm-svn: 169824
* Test case Clang::Driver/debug-options-as.c depends on the integrated ↵Simon Atanasyan2012-05-031-2/+4
| | | | | | assembler. Turn it on explicitly on all platforms by the "-integrated-as" option. llvm-svn: 156063
* test/Driver/debug-options*.c: Tweak r147819 to split out another ↵NAKAMURA Takumi2012-01-121-3/+11
| | | | | | cc1as-sensitive test. gcc driver is invoked for assembling on cygming. llvm-svn: 148022
* test/Driver/debug-options-as.c: Mark this as XFAIL:cygwin.NAKAMURA Takumi2012-01-111-2/+2
| | | | | | Also cygwin has not supported integrated-as yet. llvm-svn: 147929
* Split out clang/test/Driver/debug-options-as.c from debug-options.c, and ↵NAKAMURA Takumi2011-12-311-0/+10
mark it as XFAIL: mingw32. Mingw32 target has not supported integrated-as yet. llvm-svn: 147386
OpenPOWER on IntegriCloud