[SystemZ][XRay] Reland XRay runtime support for SystemZ (#124611)
commit64142391fd6b56d2523adaaf5483553276d25b6e
authorKai Nacke <kai.peter.nacke@ibm.com>
Fri, 31 Jan 2025 17:13:26 +0000 (31 12:13 -0500)
committerGitHub <noreply@github.com>
Fri, 31 Jan 2025 17:13:26 +0000 (31 12:13 -0500)
tree12c46f0c2e6b0029087c99badab719ad8bea7fd1
parentb9207aef09387342837069d2c0857e6d331a516c
[SystemZ][XRay] Reland XRay runtime support for SystemZ (#124611)

Adds the runtime support routines for XRay on SystemZ. Only function
entry/exit is implemented.

The original PR 113252 was reverted due to errors caused by adding DSO
support to XRay.
This PR is the original implementation with the changed function
signatures. I'll add an implementation with DSO support later.
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
compiler-rt/lib/xray/CMakeLists.txt
compiler-rt/lib/xray/xray_interface.cpp
compiler-rt/lib/xray/xray_interface_internal.h
compiler-rt/lib/xray/xray_s390x.cpp [new file with mode: 0644]
compiler-rt/lib/xray/xray_trampoline_s390x.S [new file with mode: 0644]
compiler-rt/lib/xray/xray_tsc.h