1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/XRay
Dean Michael Berris 37533d7125 [XRay] Bug fixes for FDR custom event and arg-logging
Summary:
This change has a number of fixes for FDR mode in compiler-rt along with
changes to the tooling handling the traces in llvm.

In the runtime, we do the following:

- Advance the "last record" pointer appropriately when writing the
  custom event data in the log.

- Add XRAY_NEVER_INSTRUMENT in the rewinding routine.

- When collecting the argument of functions appropriately marked, we
  should not attempt to rewind them (and reset the counts of functions
  that can be re-wound).

In the tooling, we do the following:

- Remove the state logic in BlockIndexer and instead rely on the
  presence/absence of records to indicate blocks.

- Move the verifier into a loop associated with each block.

Reviewers: mboerger, eizan

Subscribers: llvm-commits, hiraditya

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

llvm-svn: 342122
2018-09-13 09:25:42 +00:00
..
BlockIndexer.cpp [XRay] Bug fixes for FDR custom event and arg-logging 2018-09-13 09:25:42 +00:00
BlockPrinter.cpp [XRay] Add the llvm-xray fdr-dump implementation 2018-09-11 00:22:53 +00:00
BlockVerifier.cpp [XRay] Remove unused reference 2018-09-10 02:57:05 +00:00
CMakeLists.txt [XRay] Use FDR Records+Visitors for Trace Loading 2018-09-11 06:45:59 +00:00
FDRRecordProducer.cpp [XRay] Remove array for Metadata Record Types 2018-08-31 11:41:08 +00:00
FDRRecords.cpp [XRay] FDRTraceWriter and FDR Trace Loading 2018-08-30 07:22:21 +00:00
FDRTraceExpander.cpp [XRay] Use FDR Records+Visitors for Trace Loading 2018-09-11 06:45:59 +00:00
FDRTraceWriter.cpp [XRay] Write the TSC along with CPUID 2018-09-11 07:27:59 +00:00
FileHeaderReader.cpp
InstrumentationMap.cpp [Xray] tooling allow MachO format support 2018-09-10 05:00:43 +00:00
LogBuilderConsumer.cpp [XRay] FDR Record Producer/Consumer Implementation 2018-08-31 08:04:56 +00:00
Profile.cpp [XRay][llvm] Load XRay Profiles 2018-08-30 01:43:22 +00:00
RecordInitializer.cpp [XRay] Add TSC to NewCPUId Records 2018-09-11 06:36:51 +00:00
RecordPrinter.cpp [XRay] Add TSC to NewCPUId Records 2018-09-11 06:36:51 +00:00
Trace.cpp [XRay] Bug fixes for FDR custom event and arg-logging 2018-09-13 09:25:42 +00:00