With this patch, directory name can be specified as a positional input or as part of the weighted pairs in command line or input file specification file.
This is useful for use cases where user only cares to specify the profile data directory.
Paths
| Differential D22560
[Profile] add support for reading directory as input for profile merging ClosedPublic Authored by davidxl on Jul 20 2016, 12:11 AM.
Details Summary With this patch, directory name can be specified as a positional input or as part of the weighted pairs in command line or input file specification file. This is useful for use cases where user only cares to specify the profile data directory.
Diff Detail Event TimelineComment Actions Mostly looks good.
This revision is now accepted and ready to land.Jul 20 2016, 1:36 PM Closed by commit rL276185: [Profile] support directory reading in profile merging (authored by davidxl). · Explain WhyJul 20 2016, 2:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64749 test/tools/llvm-profdata/input-dir.test
test/tools/llvm-profdata/input-filenames.test
tools/llvm-profdata/llvm-profdata.cpp
|
Invert the check and exit early here to flatten the code a bit.