llvm-capstone/compiler-rt/lib/xray
Dean Michael Berris cdca0730be [XRay][compiler-rt+llvm] Update XRay register stashing semantics
Summary:
This change expands the amount of registers stashed by the entry and
`__xray_CustomEvent` trampolines.

We've found that since the `__xray_CustomEvent` trampoline calls can show up in
situations where the scratch registers are being used, and since we don't
typically want to affect the code-gen around the disabled
`__xray_customevent(...)` intrinsic calls, that we need to save and restore the
state of even the scratch registers in the handling of these custom events.

Reviewers: pcc, pelikan, dblaikie, eizan, kpw, echristo, chandlerc

Reviewed By: echristo

Subscribers: chandlerc, echristo, hiraditya, davide, dblaikie, llvm-commits

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

llvm-svn: 323940
2018-02-01 02:21:54 +00:00
..
tests [XRay] Add missing include to unit test 2017-12-27 10:39:02 +00:00
CMakeLists.txt [compiler-rt][xray][cmake] Fix a build issue caused by set/item mixup 2017-12-06 14:03:41 +00:00
weak_symbols.txt [XRay][compiler-rt][Darwin] Minimal XRay build support in Darwin 2017-11-28 11:49:22 +00:00
xray_AArch64.cc
xray_always_instrument.txt
xray_arm.cc
xray_buffer_queue.cc [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
xray_buffer_queue.h [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
xray_defs.h
xray_fdr_log_records.h [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
xray_fdr_logging_impl.h [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
xray_fdr_logging.cc [XRay][compiler-rt] Implement logging implementation registration 2017-12-05 12:08:56 +00:00
xray_fdr_logging.h
xray_flags.cc
xray_flags.h [XRay][compiler-rt] Coalesce calls to mprotect to reduce patching overhead 2017-12-14 02:51:20 +00:00
xray_flags.inc [XRay][compiler-rt] Coalesce calls to mprotect to reduce patching overhead 2017-12-14 02:51:20 +00:00
xray_init.cc [XRay][compiler-rt][Darwin] Use dynamic initialisation as an alternative 2017-11-29 22:06:12 +00:00
xray_inmemory_log.cc [XRay] [compiler-rt] fix heap overflow by computing record pointers correctly 2018-01-19 13:18:40 +00:00
xray_inmemory_log.h [XRay][compiler-rt] Migrate basic mode logging to the XRay framework 2017-11-21 07:29:21 +00:00
xray_interface_internal.h
xray_interface.cc [XRay][compiler-rt] Coalesce calls to mprotect to reduce patching overhead 2017-12-14 02:51:20 +00:00
xray_log_interface.cc [XRay][compiler-rt] Implement logging implementation registration 2017-12-05 12:08:56 +00:00
xray_mips64.cc
xray_mips.cc
xray_never_instrument.txt
xray_powerpc64.cc
xray_powerpc64.inc
xray_trampoline_AArch64.S
xray_trampoline_arm.S
xray_trampoline_mips64.S
xray_trampoline_mips.S
xray_trampoline_powerpc64_asm.S
xray_trampoline_powerpc64.cc
xray_trampoline_x86_64.S [XRay][compiler-rt+llvm] Update XRay register stashing semantics 2018-02-01 02:21:54 +00:00
xray_tsc.h
xray_utils.cc [XRay][compiler-rt] Reduce XRay log spam 2017-12-13 06:37:13 +00:00
xray_utils.h
xray_x86_64.cc
xray_x86_64.inc