[cfe-commits] PATCH: Make Clang use the last option from "-g" group

Alexey Samsonov samsonov at google.com
Tue May 29 00:46:48 PDT 2012


This change makes Clang driver pass only the last option from "-g" group to
the compiler:
* if it is -g0, no option is passed;
* if it is -gline-tables-only, this option is preserved;
* all other -g* options are substituted with -g.


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

More information about the cfe-commits mailing list