This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
16b2ace0ab
llvm-project
/
clang
/
test
/
CodeGen
/
2009-07-31-DbgDeclare.c
6 lines
102 B
C
Raw
Normal View
History
Unescape
Escape
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
2015-10-08 12:24:12 +08:00
// RUN: %clang_cc1 -S -debug-info-kind=limited -o %t.s %s
New test case for rev. 77694. llvm-svn: 77698
2009-08-01 02:24:12 +08:00
void
foo
(
)
{
int
i
=
0
;
i
=
42
;
}