[cfe-commits] PATCH: Better support for -g options in Clang driver

Alexey Samsonov samsonov at google.com
Fri Jun 1 02:10:21 PDT 2012


Hi, cfe-commits!

This patch improves support for different -g options:
1) Flags -ggdb{0,2,3}, -gdwarf-{2,3,4} are now supported and translated to
"-g" (except -ggdb0).
2) Flag -gtoggle is supported.
3) Flags -g[no-]record-gcc-switches and -g[no-]strict-dwarf are supported
and ignored.
4) Flags for alternate debug formats (-gcoff*, -gxcoff*, -gstabs*, -gvms*)
are marked as unsupported and produce an error.

Codereview: http://codereview.appspot.com/6250082/

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120601/8748da2f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_options.diff
Type: application/octet-stream
Size: 8782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120601/8748da2f/attachment.obj>


More information about the cfe-commits mailing list