[all-commits] [llvm/llvm-project] 7767aa: [XRay][AArch64] Support -fxray-shared (#114431)

Sebastian Kreutzer via All-commits all-commits at lists.llvm.org
Mon Nov 4 23:05:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7767aa45abf9706fa5ec9a2b182f3ccde92a93f0
      https://github.com/llvm/llvm-project/commit/7767aa45abf9706fa5ec9a2b182f3ccde92a93f0
  Author: Sebastian Kreutzer <SebastianKreutzer at gmx.net>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M clang/lib/Driver/XRayArgs.cpp
    M clang/test/Driver/XRay/xray-shared.cpp
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/lib/xray/CMakeLists.txt
    M compiler-rt/lib/xray/xray_trampoline_AArch64.S
    M compiler-rt/test/xray/TestCases/Posix/basic-mode-dso.cpp
    M compiler-rt/test/xray/TestCases/Posix/clang-xray-shared.cpp
    M compiler-rt/test/xray/TestCases/Posix/dlopen.cpp
    M compiler-rt/test/xray/TestCases/Posix/dso-dep-chains.cpp
    M compiler-rt/test/xray/TestCases/Posix/patch-premain-dso.cpp
    M compiler-rt/test/xray/TestCases/Posix/patching-unpatching-dso.cpp

  Log Message:
  -----------
  [XRay][AArch64] Support -fxray-shared (#114431)

This patch adds support for `-fxray-shared` on AArch64. This feature,
introduced in #113548 for x86_64, enables the instrumentation of shared
libraries with XRay.

Changes:
- Adds AArch64 to the list of targets supporting `-fxray-shared`
- Introduces PIC versions of the AArch64 XRay trampolines 
- Adjusts relevant XRay tests



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list