1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test
Dean Michael Berris c91cd5f47b [XRay] Define the InstrumentationMap type
Summary:
This change implements the instrumentation map loading library which can
understand both YAML-defined instrumentation maps, and ELF 64-bit object
files that have the XRay instrumentation map section. We break it out
into a library on its own to allow for other applications to deal with
the XRay instrumentation map defined in XRay-instrumented binaries.

This type provides both raw access to the logical representation of the
instrumentation map entries as well as higher level functions for
converting a function ID into a function address.

At this point we only support ELF64 binaries and YAML-defined XRay
instrumentation maps. Future changes should extend this to support
32-bit ELF binaries, as well as other binary formats (like MachO).

As part of this change we also migrate all uses of the extraction logic
that used to be defined in tools/llvm-xray/ to use this new type and
interface for loading from files. We also remove the flag from the
`llvm-xray` tool that required users to specify the type of the
instrumentation map file being provided to instead make the library
auto-detect the file type.

Reviewers: dblaikie

Subscribers: mgorny, varno, llvm-commits

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

llvm-svn: 293721
2017-02-01 00:05:29 +00:00
..
Analysis [SCEV] Simplify/generalize howFarToZero solving. 2017-01-31 00:42:42 +00:00
Assembler [NVPTX] Auto-upgrade some NVPTX intrinsics to LLVM target-generic code. 2017-01-21 01:00:32 +00:00
Bindings
Bitcode
BugPoint
CodeGen CodeGen: Allow small copyable blocks to "break" the CFG. 2017-01-31 23:48:32 +00:00
DebugInfo stripDebugInfo() should remove DILocation's found in !llvm.loop metadata 2017-01-28 11:22:05 +00:00
Examples
ExecutionEngine Test RuntimeDyld doesn't crash with R_X86_64_NONE (r293388). 2017-01-30 01:28:42 +00:00
Feature Add intrinsics for constrained floating point operations 2017-01-26 23:27:59 +00:00
FileCheck
Instrumentation [sanitizer-coverage] emit __sanitizer_cov_trace_pc_guard w/o a preceding 'if' by default. Update the docs, also add deprecation notes around other parts of sanitizer coverage 2017-01-24 00:57:31 +00:00
Integer
JitListener
LibDriver
Linker
LTO IPO, LTO: Plumb the summary from the LTO API into the pass manager. 2017-01-20 22:18:52 +00:00
MC MC: Introduce the ABS8 symbol modifier. 2017-01-31 18:28:44 +00:00
Object Change the llvm-obdump(1) behavior with the -macho flag and inappropriate file types. 2017-01-30 20:53:17 +00:00
ObjectYAML Attempt to fix the testcase in r292824 2017-01-23 20:42:17 +00:00
Other [PM] Port LoopLoadElimination to the new pass manager and wire it into 2017-01-27 01:32:26 +00:00
SymbolRewriter
TableGen TableGen: Fix infinite recursion in RegisterBankEmitter 2017-01-30 15:07:01 +00:00
ThinLTO/X86 [LTO] Add test to show up we don't support ThinLTO yet. 2017-01-24 00:59:00 +00:00
tools [XRay] Define the InstrumentationMap type 2017-02-01 00:05:29 +00:00
Transforms InferAddressSpaces: Fix broken casting of constants 2017-01-31 23:48:40 +00:00
Unit
Verifier Add intrinsics for constrained floating point operations 2017-01-26 23:27:59 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh