hanchenye-llvm-project/llvm/test
Dean Michael Berris 25f8d204b8 [XRay] Update XRayRecord to support Custom/Typed Events
Summary:
This change cuts across LLVM and compiler-rt to add support for
rendering custom events in the XRayRecord type, to allow for including
user-provided annotations in the output YAML (as raw bytes).

This work enables us to add custom event and typed event records into
the `llvm::xray::Trace` type for user-provided events. This can then be
programmatically handled through the C++ API and can be included in some
of the tooling as well. For now we support printing the raw data we
encounter in the custom events in the converted output.

Future work will allow us to start interpreting these custom and typed
events through a yet-to-be-defined API for extending the trace analysis
library.

Reviewers: mboerger

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D54139

llvm-svn: 346214
2018-11-06 08:51:37 +00:00
..
Analysis Revert "[IndVars] Smart hard uses detection" 2018-11-06 02:02:05 +00:00
Assembler Fix whitespace in test/Assembler/fast-math-flags.ll 2018-11-01 16:57:52 +00:00
Bindings [LLVM-C] Improve Intrinsics Bindings 2018-11-06 01:38:14 +00:00
Bitcode
BugPoint
CodeGen [LICM] Use ICFLoopSafetyInfo in LICM 2018-11-06 02:44:49 +00:00
DebugInfo Specify REQUIRES: default_triple in two debuginfo tests 2018-11-06 00:16:32 +00:00
Demangle
Examples
ExecutionEngine [ORC] Re-apply r345077 with fixes to remove ambiguity in lookup calls. 2018-10-23 23:01:39 +00:00
Feature
FileCheck [SourceMgr][FileCheck] Obey -color by extending WithColor 2018-10-24 21:46:42 +00:00
Instrumentation [MSan] another take at instrumenting inline assembly - now with calls 2018-10-31 09:32:47 +00:00
Integer
JitListener
LTO [ThinLTO] Add an option to disable (thin)lto internalization. 2018-11-05 15:49:46 +00:00
Linker llvm-link: Improve diagnostic for module-level metadata mismatch 2018-10-09 01:17:27 +00:00
MC [WebAssembly] Parsing missing directives to produce valid .o 2018-11-02 22:04:33 +00:00
Object AMDGPU: Add sram-ecc feature 2018-11-05 22:44:19 +00:00
ObjectYAML Make YAML quote forward slashes. 2018-10-12 16:31:20 +00:00
Other [hot-cold-split] Only perform splitting in ThinLTO backend post-link 2018-10-23 22:57:40 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [TableGen] fix assert in !cast when used out of definition in a multiclass 2018-10-10 10:52:57 +00:00
ThinLTO/X86 [ThinLTO] Add an option to disable (thin)lto internalization. 2018-11-05 15:49:46 +00:00
Transforms [LICM] Use ICFLoopSafetyInfo in LICM 2018-11-06 02:44:49 +00:00
Unit
Verifier [machineverifier] Detect PHI's that are preceeded by non-PHI's 2018-10-03 22:05:31 +00:00
YAMLParser
tools [XRay] Update XRayRecord to support Custom/Typed Events 2018-11-06 08:51:37 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in