forked from OSchip/llvm-project
c6ba9ca169
Per LLVM's CommandGuide, llvm-profdata show -text is supposed to produce textual output that can be passed as input to further llvm-profdata invocations. This previously didn't work for two reasons: 1) -text was not sufficient to enable the machine-readable text format output; instead, -text was effectively ignored if -counts was not also specified. (With this patch, -counts is instead ignored if -text is specified, because the machine-readable text format always includes counts.) 2) When the input data was an IR-level profile, the :ir marker was missing from the output, resulting in a text format output that would not be usable as profiling data due to function hash mismatches. Differential Revision: https://reviews.llvm.org/D51188 llvm-svn: 340592 |
||
---|---|---|
.. | ||
Inputs | ||
c-general.test | ||
compat.proftext | ||
count-mismatch.proftext | ||
gcc-gcov-sample-profile.test | ||
general.proftext | ||
hash-mismatch.proftext | ||
inline-samples.test | ||
input-dir.test | ||
input-filenames.test | ||
invalid-profdata.test | ||
lit.local.cfg | ||
memop-size-prof.proftext | ||
merge_empty_profile.test | ||
multiple-inputs.test | ||
multiple-profdata-merge.test | ||
nocompress.test | ||
overflow-instr.test | ||
overflow-sample.test | ||
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 | ||
raw-two-profiles.test | ||
roundtrip.test | ||
sample-profile-basic.test | ||
show-instr-level.test | ||
text-dump.test | ||
text-format-errors.test | ||
threaded-count-mismatch.test | ||
value-prof.proftext | ||
weight-instr.test | ||
weight-sample.test |