[cfe-commits] PATCH: Update Clang docs about command line flags setting debug info kind

Chandler Carruth chandlerc at google.com
Tue May 29 01:24:45 PDT 2012


On Tue, May 29, 2012 at 1:22 AM, Alexey Samsonov <samsonov at google.com>wrote:

>
>
> On Tue, May 29, 2012 at 11:47 AM, Alexey Samsonov <samsonov at google.com>wrote:
>
>>
>>
>> On Tue, May 29, 2012 at 10:21 AM, Chandler Carruth <chandlerc at google.com>wrote:
>>
>>> On Mon, May 28, 2012 at 11:16 PM, Alexey Samsonov <samsonov at google.com>wrote:
>>>
>>>> How does the compiler behave if both -gline-tables-only and -g are
>>>>> supplied?
>>>>>
>>>>
>>>> Currently, -gline-tables-only is preferred, which is probably confusing.
>>>> Do you think it's better to always use the last flag from "g Group" if
>>>> multiple flags are present,
>>>>  and document this behavior?
>>>>
>>>
>>> Yes, that should be the behavior.
>>>
>>
> Added the sentence that the last flag is used to the proposed doc change.
>

This patch looks generally fine to me, certainly an improvement.

We should also mention the -flimit-debug-info option somewhere, but I'm not
sure where is best. I'll leave it to Eric to chime in on that front.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120529/0cbc81c8/attachment.html>


More information about the cfe-commits mailing list