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

Eric Christopher echristo at apple.com
Tue May 29 11:23:46 PDT 2012


On May 29, 2012, at 1:24 AM, Chandler Carruth <chandlerc at google.com> wrote:

> 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.

Same place :)

If you file a bug I'll make sure to get to it sometime soon.

-eric



More information about the cfe-commits mailing list