1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/tools/llvm-profdata
Richard Smith 523811b4d4 Make llvm-profdata show -text work as advertised in the documentation.
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
2018-08-24 01:34:45 +00:00
..
Inputs [llvm-profdata] Don't treat non-fatal merge errors as fatal 2017-11-17 21:18:32 +00:00
c-general.test
compat.proftext Adjust test after r318159 2017-11-14 17:12:36 +00:00
count-mismatch.proftext
gcc-gcov-sample-profile.test Profiling tests: Endianess XFAIL for powerpc- (32-bit) 2018-01-09 20:09:23 +00:00
general.proftext
hash-mismatch.proftext
inline-samples.test
input-dir.test
input-filenames.test
invalid-profdata.test Revert "Revert "[lit] Generalized /dev/null support on Windows."" 2018-03-27 01:39:17 +00:00
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 Make llvm-profdata show -text work as advertised in the documentation. 2018-08-24 01:34:45 +00:00
sample-profile-basic.test
show-instr-level.test
text-dump.test
text-format-errors.test
threaded-count-mismatch.test [llvm-profdata] Don't treat non-fatal merge errors as fatal 2017-11-17 21:18:32 +00:00
value-prof.proftext
weight-instr.test
weight-sample.test