llvm-project/llvm/test
Richard Smith c6ba9ca169 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
..
Analysis [FunctionAttrs] Infer WriteOnly Function Attribute 2018-08-23 15:05:22 +00:00
Assembler Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
Bindings
Bitcode Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
BugPoint [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:44 +00:00
CodeGen [MIPS GlobalISel] Lower i8 and i16 arguments 2018-08-23 20:41:09 +00:00
DebugInfo DebugInfo: Improve debug location merging 2018-08-23 22:35:58 +00:00
Demangle [MS Demangler] Print template constructor args. 2018-08-21 22:52:52 +00:00
Examples
ExecutionEngine [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
Feature
FileCheck [FileCheck] Provide an option for FileCheck to dump original input to stderr on failure 2018-07-20 20:21:57 +00:00
Instrumentation Fix global_metadata_external_comdat.ll test 2018-08-21 00:03:21 +00:00
Integer
JitListener
LTO Enrich inline messages 2018-08-05 14:53:08 +00:00
Linker
MC MC: Don't align COFF section contents. 2018-08-23 05:39:36 +00:00
Object [WASM] Fix overflow when reading custom section 2018-08-08 16:34:03 +00:00
ObjectYAML
Other Recommit r333268: [IPSCCP] Use PredicateInfo to propagate facts from cmp instructions. 2018-08-23 11:04:00 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:44 +00:00
ThinLTO/X86 [Support][CachePruning] prune least recently accessed files first 2018-08-22 00:52:16 +00:00
Transforms [ValueTracking] Fix assert message and add test case for r340546 and PR38677. 2018-08-23 17:45:53 +00:00
Unit
Verifier [IR Verifier] Do not allow bitcast of pointer to vector of pointers and vice versa. 2018-08-21 04:27:07 +00:00
YAMLParser
tools Make llvm-profdata show -text work as advertised in the documentation. 2018-08-24 01:34:45 +00:00
.clang-format
CMakeLists.txt Make check-llvm depend on llvm-undname 2018-07-20 18:42:19 +00:00
TestRunner.sh
lit.cfg.py [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
lit.site.cfg.py.in