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 | adbb8c2aef0d2bb27f0df4383bde4085e460a31e (patch) | |
tree | e4a4ae4ac8bfcebc815b7f8602c4b02f7a8a9a41 /test/CodeGenCXX/debug-info-static-fns.cpp | |
parent | 40bf428a9fc1225210d16e520a7695713ad2c8f6 (diff) | |
download | clang-adbb8c2aef0d2bb27f0df4383bde4085e460a31e.tar.gz |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-static-fns.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-static-fns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/debug-info-static-fns.cpp b/test/CodeGenCXX/debug-info-static-fns.cpp index 3f8d8e8389..718187e368 100644 --- a/test/CodeGenCXX/debug-info-static-fns.cpp +++ b/test/CodeGenCXX/debug-info-static-fns.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s namespace A { static int a(int b) { return b + 4; } |