1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-profdata
Nathan Slingerland 9c743e7e7f [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
2015-11-17 22:08:53 +00:00
..
Inputs llvm/test/tools/llvm-profdata/text-format-errors.test: Use prepared version of the input file, instead of using echo. 2015-11-13 06:06:58 +00:00
c-general.test
compat.proftext
count-mismatch.proftext [llvm-profdata] Improve error messaging when merging mismatched profile data 2015-11-17 22:08:53 +00:00
gcc-gcov-sample-profile.test SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamples 2015-11-13 20:24:28 +00:00
general.proftext
hash-mismatch.proftext
inline-samples.test SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamples 2015-11-13 20:24:28 +00:00
lit.local.cfg
multiple-inputs.test
overflow.proftext
raw-32-bits-be.test
raw-32-bits-le.test
raw-64-bits-be.test
raw-64-bits-le.test
raw-magic-but-no-header.test [llvm-profdata] Add check for text profile formats and improve error reporting (2nd try) 2015-11-13 03:47:58 +00:00
raw-two-profiles.test
sample-profile-basic.test SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamples 2015-11-13 20:24:28 +00:00
text-format-errors.test llvm/test/tools/llvm-profdata/text-format-errors.test: Use prepared version of the input file, instead of using echo. 2015-11-13 06:06:58 +00:00