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

Alexey Samsonov samsonov at google.com
Tue May 29 01:22:13 PDT 2012


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.


>>> Should this be documented?
>>>>
>>>
>>>
>>>> On Mon, May 28, 2012 at 7:34 PM, Alexey Samsonov <samsonov at google.com>
>>>> wrote:
>>>> > Hi, cfe-commits!
>>>> >
>>>> > This patch updates Clang docs to reflect recently added
>>>> "-gline-tables-only"
>>>> > option that allows to generate less debug info but still produce
>>>> enough info
>>>> > for obtaining stack traces.
>>>> > Could you please take a look if this update is desirable?
>>>> >
>>>> > --
>>>> > Alexey Samsonov, MSK
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > cfe-commits mailing list
>>>> > cfe-commits at cs.uiuc.edu
>>>> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Alexander Potapenko
>>>> Software Engineer
>>>> Google Moscow
>>>>
>>>
>>>
>>>
>>> --
>>> Alexey Samsonov, MSK
>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>
>>>
>>
>
>
> --
> Alexey Samsonov, MSK
>
>


-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120529/11db5b39/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zpatch.gline-tables-docs
Type: application/octet-stream
Size: 1713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120529/11db5b39/attachment.obj>


More information about the cfe-commits mailing list