[llvm-commits] [PATCH 3/4] Profile metadata: runtime support

Alastair Murray alastairmurray42 at gmail.com
Sat Aug 18 06:46:04 PDT 2012


Hello all,

Please review the attached patch.

This is the second of four patches to support setting branch weight 
metadata by profiling.  It does not depend on the previous patches.

This small patch allows the profile data file name to be specified by 
the LLVMPROF_OUTPUT environment variable.  This allows parallel make for 
profiling code (to come in patch #4), without it the are file collisions 
as each parallel run uses the default file name.

There is already code in the runtime library to specify the output file 
name via the command line, but this only works for programs which 
already process argc/argv.  This patch builds on that support.

Regards,
Alastair Murray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weights_3_profiling_runtime.patch
Type: text/x-patch
Size: 1943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120818/21039028/attachment.bin>


More information about the llvm-commits mailing list