[all-commits] [llvm/llvm-project] f8a4cd: [xray][AArch64] Rewrite trampoline

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jun 19 23:02:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8a4cd0f07e0f16b1a09c6c746cf627fc71f16bd
      https://github.com/llvm/llvm-project/commit/f8a4cd0f07e0f16b1a09c6c746cf627fc71f16bd
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M compiler-rt/lib/xray/xray_trampoline_AArch64.S

  Log Message:
  -----------
  [xray][AArch64] Rewrite trampoline

Optimize (cmp+beq => cbz), duduplicate code (SAVE_REGISTERS/RESTORE_REGISTERS),
improve portability (use ASM_SYMBOL to be compatible with Mach-O), and fix style
issues.
Also, port D37965 (x86 tail call) to __xray_FunctionTailExit.




More information about the All-commits mailing list