[PATCH] [Profile] Clang support for setting profile output from command line
Teresa Johnson
tejohnson at google.com
Thu Apr 30 11:25:29 PDT 2015
This change is the third of 3 patches to add support for specifying
the profile output from the command line via -fprofile-instr-generate=<path>,
where the specified output path/file will be overridden by the
LLVM_PROFILE_FILE environment variable.
This patch adds the necessary support to the clang frontend, and adds a
new test.
The first patch (compiler-rt) is committed:
http://llvm.org/viewvc/llvm-project?view=revision&revision=236055
The second patch (llvm) is out for review:
http://reviews.llvm.org/D9334
http://reviews.llvm.org/D9407
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Profile/c-generate.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9407.24754.patch
Type: text/x-patch
Size: 5895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150430/2f8f9560/attachment.bin>
More information about the cfe-commits
mailing list