diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-04-30 23:49:23 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-04-30 23:49:23 +0000 |
commit | ba1900cefdeb393e5c8c8d5306c1d860a60ddd48 (patch) | |
tree | 9ceea3b1c9dd308d514c938b6807f51b59b72a14 /clang/lib/CodeGen/CodeGenTBAA.cpp | |
parent | 2c83e336a185ba7a58b45892d9e32a1e373ddf19 (diff) | |
download | bcm5719-llvm-ba1900cefdeb393e5c8c8d5306c1d860a60ddd48.tar.gz bcm5719-llvm-ba1900cefdeb393e5c8c8d5306c1d860a60ddd48.zip |
InstrProf: Instrumenter support for setting profile output from command line
This change is the second 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 llvm instrumenter, specifically
a new member of GCOVOptions for clang to save the specified filename, and
support for calling the new compiler-rt interface from __llvm_profile_init.
Patch by Teresa Johnson. Thanks!
llvm-svn: 236288
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions