diff options
author | Nathan Slingerland <slingn@gmail.com> | 2015-11-17 22:08:53 +0000 |
---|---|---|
committer | Nathan Slingerland <slingn@gmail.com> | 2015-11-17 22:08:53 +0000 |
commit | e6e30d5e884af25e8fbe842c2480d5bdf529cfd0 (patch) | |
tree | b7e5832bd21cfc212859cdaef794c6b43e444d81 /clang/lib/Driver/Action.cpp | |
parent | a2afcc99116ee4be3b8cf2283f975421462e76fc (diff) | |
download | bcm5719-llvm-e6e30d5e884af25e8fbe842c2480d5bdf529cfd0.tar.gz bcm5719-llvm-e6e30d5e884af25e8fbe842c2480d5bdf529cfd0.zip |
[llvm-profdata] Improve error messaging when merging mismatched profile data
Summary:
This change tries to make the root cause of instrumented profile data merge failures clearer.
Previous:
$ llvm-profdata merge test_0.profraw test_1.profraw -o test_merged.profdata
test_1.profraw: foo: Function count mismatch
test_1.profraw: bar: Function count mismatch
test_1.profraw: baz: Function count mismatch
...
Changed:
$ llvm-profdata merge test_0.profraw test_1.profraw -o test_merged.profdata
test_1.profraw: foo: Function basic block count change detected (counter mismatch)
Make sure that all profile data to be merged is generated from the same binary.
test_1.profraw: bar: Function basic block count change detected (counter mismatch)
test_1.profraw: baz: Function basic block count change detected (counter mismatch)
...
Reviewers: dnovillo, davidxl, bogner
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14739
llvm-svn: 253384
Diffstat (limited to 'clang/lib/Driver/Action.cpp')
0 files changed, 0 insertions, 0 deletions