[compiler-rt] r297894 - Add NO_EXEC_STACK_DIRECTIVE to xray assembly files.
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 14:18:47 PDT 2017
Author: dberris
Date: Wed Mar 15 16:18:47 2017
New Revision: 297894
URL: http://llvm.org/viewvc/llvm-project?rev=297894&view=rev
Log:
Add NO_EXEC_STACK_DIRECTIVE to xray assembly files.
Summary: Add NO_EXEC_STACK_DIRECTIVE to xray assembly files
Reviewers: dberris, javed.absar
Reviewed By: dberris
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D30953
Modified:
compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S
compiler-rt/trunk/lib/xray/xray_trampoline_arm.S
compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S
Modified: compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S?rev=297894&r1=297893&r2=297894&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S (original)
+++ compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S Wed Mar 15 16:18:47 2017
@@ -1,3 +1,5 @@
+#include "../builtins/assembly.h"
+
.text
/* The variable containing the handler function pointer */
.global _ZN6__xray19XRayPatchedFunctionE
@@ -138,3 +140,5 @@ FunctionTailExit_restore:
LDP X3, X4, [SP], #16
LDP X1, X2, [SP], #16
RET
+
+NO_EXEC_STACK_DIRECTIVE
Modified: compiler-rt/trunk/lib/xray/xray_trampoline_arm.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_trampoline_arm.S?rev=297894&r1=297893&r2=297894&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_arm.S (original)
+++ compiler-rt/trunk/lib/xray/xray_trampoline_arm.S Wed Mar 15 16:18:47 2017
@@ -1,3 +1,5 @@
+#include "../builtins/assembly.h"
+
.syntax unified
.arch armv6t2
.fpu vfpv2
@@ -96,3 +98,5 @@ FunctionTailExit_restore:
@ Restore floating-point parameters of the instrumented function
VPOP {d0-d7}
POP {r1-r3,pc}
+
+NO_EXEC_STACK_DIRECTIVE
Modified: compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S?rev=297894&r1=297893&r2=297894&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S (original)
+++ compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S Wed Mar 15 16:18:47 2017
@@ -13,6 +13,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../builtins/assembly.h"
+
.macro SAVE_REGISTERS
subq $200, %rsp
movupd %xmm0, 184(%rsp)
@@ -188,3 +190,5 @@ __xray_ArgLoggerEntry:
.Larg1entryEnd:
.size __xray_ArgLoggerEntry, .Larg1entryEnd-__xray_ArgLoggerEntry
.cfi_endproc
+
+NO_EXEC_STACK_DIRECTIVE
More information about the llvm-commits
mailing list