Add support for emitting profiles into a directory other than '.'

Diego Novillo dnovillo at google.com
Mon Jun 29 13:54:58 PDT 2015


On Mon, Jun 29, 2015 at 12:53 PM, Diego Novillo <dnovillo at google.com> wrote:
> On Thu, Jun 25, 2015 at 7:18 PM, Justin Bogner <mail at justinbogner.com> wrote:
>
>> Is it enough to set InstrProfileFile to $dir/default.profraw in the
>> frontend? Seems more complicated than it needs to be to have two
>> variables at the LLVM level.
>
> Sure. I was trying to keep the default as close to the runtime as I
> could, but if you're OK with having the default specified in the FE
> and runtime, I'm fine with that.  I'm not really sure how we could
> avoid that, actually.
>
> Fix coming up.

Moving the setting of InstrProfileFile to the FE made this patch
unnecessary.  Dropped.


Diego.



More information about the llvm-commits mailing list