[llvm-commits] [PATCH] LTO code generator options: --verbose

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Nov 11 12:16:07 PST 2009


I have been thinking of how people will set up and maintain complex builds with our tools.
Once in a while something will go wrong and it should be a way to figure out what's going on behind the scene.

The idea is to have a special "verbose" mode for builds trouble shooting.
It is a run-time mode, not a debug; the toolchain does the regular things but provides detailed messages along the way.
Gold plugin runs other tools, so from this perspective it is helpful to be able to see what exact program get ran with what exact 
parameters. I planned to add passing the verbose flag (if set) down to the toolchain as well, just wanted to separate patches.

Does it make sense?

Viktor

----- Original Message ----- 
From: "Nick Lewycky" <nicholas at mxc.ca>
To: "Viktor Kutuzov" <vkutuzov at accesssoftek.com>
Cc: "Eric Christopher" <echristo at apple.com>; "Commit Messages and Patches for LLVM" <llvm-commits at cs.uiuc.edu>
Sent: Wednesday, November 11, 2009 11:56 AM
Subject: Re: [llvm-commits] [PATCH] LTO code generator options: --verbose


Viktor Kutuzov wrote:
> Please find attached the patch without cosmetic changes.

Why do you need this? Or rather, when would a user want to specify this?

If this is just debugging info, why not use DEBUG() from
llvm/Support/Debug.h?

Nick

> Best regards,
> Viktor
>
> ----- Original Message ----- From: "Eric Christopher" <echristo at apple.com>
> To: "Viktor Kutuzov" <vkutuzov at accesssoftek.com>
> Cc: "Commit Messages and Patches for LLVM" <llvm-commits at cs.uiuc.edu>
> Sent: Tuesday, November 10, 2009 1:15 PM
> Subject: Re: [llvm-commits] [PATCH] LTO code generator options: --verbose
>
>
>
> On Nov 10, 2009, at 1:10 PM, Viktor Kutuzov wrote:
>
>> <llvm-lto-codegen_verbose.diff>
>
> It'd be easier to look at if there were less cosmetic changes in the
> patch. That said, what do you expect this will add?
>
> -eric
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list