[PATCH] D26020: [XRay][compiler-rt][x86_64] Define a tail exit trampoline.

Serge Rogatch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 10:09:07 PST 2016


rSerge added inline comments.


================
Comment at: compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S:147
+	movl	%r10d, %edi
+	movl	$1, %esi
+	callq	*%rax
----------------
Shouldn't here be `$2`, because `enum XRayEntryType { ENTRY = 0, EXIT = 1, TAIL = 2 };` and it's tail exit?


Repository:
  rL LLVM

https://reviews.llvm.org/D26020





More information about the llvm-commits mailing list