diff options
author | Douglas Katzman <dougk@google.com> | 2015-10-08 04:24:12 +0000 |
---|---|---|
committer | Douglas Katzman <dougk@google.com> | 2015-10-08 04:24:12 +0000 |
commit | 3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35 (patch) | |
tree | 624a36e167f03f8073f733be3db95b90a39cbb54 /clang/test/Rewriter | |
parent | 10dffcb36b3c5c0c2b48c4043ec324d29a4cd765 (diff) | |
download | llvm-3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35.zip llvm-3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35.tar.gz llvm-3459ce2e5ebbabb8d4dde3809da50dc89e1b0b35.tar.bz2 |
Stop messing with the 'g' group of options in CompilerInvocation.
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
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/line-generation-test.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Rewriter/line-generation-test.m b/clang/test/Rewriter/line-generation-test.m index 0e666e1..cafdba2 100644 --- a/clang/test/Rewriter/line-generation-test.m +++ b/clang/test/Rewriter/line-generation-test.m @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -E %s -o %t.mm -// RUN: %clang_cc1 -fms-extensions -rewrite-objc -g %t.mm -o %t-rw.cpp +// RUN: %clang_cc1 -fms-extensions -rewrite-objc -debug-info-kind=limited %t.mm -o %t-rw.cpp // RUN: FileCheck -check-prefix CHECK-LINE --input-file=%t-rw.cpp %s // RUN: %clang_cc1 -fms-extensions -rewrite-objc %t.mm -o %t-rwnog.cpp // RUN: FileCheck -check-prefix CHECK-NOLINE --input-file=%t-rwnog.cpp %s |