Page MenuHomePhabricator

[Profile] Clang support for setting profile output from command line
ClosedPublic

Authored by tejohnson on Apr 30 2015, 11:25 AM.

Details

Reviewers
rsmith
Summary

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

Diff Detail

Event Timeline

tejohnson updated this revision to Diff 24754.Apr 30 2015, 11:25 AM
tejohnson retitled this revision from to [Profile] Clang support for setting profile output from command line.
tejohnson updated this object.
tejohnson edited the test plan for this revision. (Show Details)
tejohnson added a subscriber: Unknown Object (MLST).
rsmith accepted this revision.Apr 30 2015, 11:54 AM
rsmith added a reviewer: rsmith.
rsmith added a subscriber: rsmith.

LGTM, do you need someone to commit this for you?

This revision is now accepted and ready to land.Apr 30 2015, 11:54 AM
tejohnson closed this revision.Aug 12 2015, 7:51 AM

Committed awhile back as r236289, closing manually.