[PATCH] D30953: Add NO_EXEC_STACK_DIRECTIVE to xray assembly files.
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 14:30:54 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL297894: Add NO_EXEC_STACK_DIRECTIVE to xray assembly files. (authored by dberris).
Changed prior to commit:
https://reviews.llvm.org/D30953?vs=91772&id=91938#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30953
Files:
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
Index: compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S
===================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S
+++ compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S
@@ -13,6 +13,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../builtins/assembly.h"
+
.macro SAVE_REGISTERS
subq $200, %rsp
movupd %xmm0, 184(%rsp)
@@ -188,3 +190,5 @@
.Larg1entryEnd:
.size __xray_ArgLoggerEntry, .Larg1entryEnd-__xray_ArgLoggerEntry
.cfi_endproc
+
+NO_EXEC_STACK_DIRECTIVE
Index: compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S
===================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S
+++ compiler-rt/trunk/lib/xray/xray_trampoline_AArch64.S
@@ -1,3 +1,5 @@
+#include "../builtins/assembly.h"
+
.text
/* The variable containing the handler function pointer */
.global _ZN6__xray19XRayPatchedFunctionE
@@ -138,3 +140,5 @@
LDP X3, X4, [SP], #16
LDP X1, X2, [SP], #16
RET
+
+NO_EXEC_STACK_DIRECTIVE
Index: compiler-rt/trunk/lib/xray/xray_trampoline_arm.S
===================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_arm.S
+++ compiler-rt/trunk/lib/xray/xray_trampoline_arm.S
@@ -1,3 +1,5 @@
+#include "../builtins/assembly.h"
+
.syntax unified
.arch armv6t2
.fpu vfpv2
@@ -96,3 +98,5 @@
@ Restore floating-point parameters of the instrumented function
VPOP {d0-d7}
POP {r1-r3,pc}
+
+NO_EXEC_STACK_DIRECTIVE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30953.91938.patch
Type: text/x-patch
Size: 1614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/1a4c86ab/attachment.bin>
More information about the llvm-commits
mailing list