llvm/test/tools
Dean Michael Berris 14cdbca6b8 [XRay] Define the library for XRay trace logs
Summary:
In this change we move the definition of the log reading routines from
the tools directory in LLVM to {include/llvm,lib}/XRay. We improve the
documentation a little bit for the publicly accessible headers, and
adjust the top-matter. This also leads to some refactoring and cleanup
in the tooling code.

In particular, we do the following:

  - Rename the class from LogReader to Trace, as it better represents
    the logical set of records as opposed to a log.
  - Use file type detection instead of asking the user to say what
    format the input file is. This allows us to keep the interface
    simple and encapsulate the logic of loading the data appropriately.

In future changes we increase the API surface and write dedicated unit
tests for the XRay library.

Depends on D24376.

Reviewers: dblaikie, echristo

Subscribers: mehdi_amini, mgorny, llvm-commits, varno

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291652 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-11 06:39:09 +00:00
..
dsymutil dsymutil/modules: Reword the warning for static libraries without module caches 2016-05-20 20:36:06 +00:00
gold Fix x86 gold tests on non-x86 targets. 2017-01-04 14:43:51 +00:00
llvm-ar test: relax the match on the timestamp 2016-07-05 01:14:53 +00:00
llvm-config [llvm-config] Canonicalize CMake booleans to 0/1 2017-01-10 19:55:51 +00:00
llvm-cov [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
llvm-cxxdump Fix a bug in the code of llvm-cxxdump in dumpArchive() when 2016-10-21 20:03:14 +00:00
llvm-cxxfilt llvm-cxxfilt: support reading from stdin 2016-11-13 20:43:38 +00:00
llvm-dwp dwarfdump: -summarize-types: print a short summary (unqualified type name, hash, length) of type units rather than dumping contents 2016-10-18 21:09:48 +00:00
llvm-lit
llvm-lto [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
llvm-lto2 [LTO] Reject modules without datalayout. 2016-12-14 21:57:04 +00:00
llvm-mc
llvm-modextract llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
llvm-nm llvm-nm: Print correct symbol types for init and fini sections 2016-11-23 20:17:20 +00:00
llvm-objdump [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
llvm-opt-report [llvm-opt-report] Fix context-sensitive lines where nothing happened 2017-01-07 20:21:17 +00:00
llvm-pdbdump Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
llvm-profdata [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
llvm-readobj [llvm-readobj] - Teach readobj to print PT_OPENBSD_BOOTDATA header 2016-12-06 17:55:52 +00:00
llvm-size Fix a bug with llvm-size and the -m option with multiple files not printing the file names. 2016-12-01 19:12:55 +00:00
llvm-split Preserve blockaddress use edges in the module splitter. 2016-03-31 21:55:11 +00:00
llvm-strings test: use separate input file for test 2016-11-16 04:08:46 +00:00
llvm-symbolizer Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
llvm-xray/X86 [XRay] Define the library for XRay trace logs 2017-01-11 06:39:09 +00:00
lto Fix test/tools/lto/hide-linkonce-odr.ll after r289719 2016-12-15 01:31:38 +00:00
sancov [sancov] hash prefix results in huge merge files, use shorter prefix 2016-12-21 22:09:57 +00:00
sanstats Use printf instead of "echo -e" or "echo -n". 2016-10-26 01:07:26 +00:00
yaml2obj [yaml2obj] Remove --format option in favor of YAML tags 2016-06-27 19:53:53 +00:00