[compiler-rt] r289852 - xray: fix assembly macro definition

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 10:54:27 PST 2016


Author: compnerd
Date: Thu Dec 15 12:54:27 2016
New Revision: 289852

URL: http://llvm.org/viewvc/llvm-project?rev=289852&view=rev
Log:
xray: fix assembly macro definition

  projects/compiler-rt/lib/xray/xray_trampoline_x86_64.S:33:7: error: unexpected token in '.endm' directive
  .endm SAVE_REGISTERS
	^
  projects/compiler-rt/lib/xray/xray_trampoline_x86_64.S:52:7: error: unexpected token in '.endm' directive
  .endm RESTORE_REGISTERS
	^

Remove the trailing name on the `.endm` which does not take the name of the
macro.  This should bring the compiler-rt build bot back into working state.

Modified:
    compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S

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=289852&r1=289851&r2=289852&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S (original)
+++ compiler-rt/trunk/lib/xray/xray_trampoline_x86_64.S Thu Dec 15 12:54:27 2016
@@ -30,7 +30,7 @@
 	movq	%rcx, 32(%rsp)
 	movq	%r8, 24(%rsp)
 	movq	%r9, 16(%rsp)
-.endm SAVE_REGISTERS
+.endm
 
 .macro RESTORE_REGISTERS
 	movupd	184(%rsp), %xmm0
@@ -49,7 +49,7 @@
 	movq	24(%rsp), %r8
 	movq	16(%rsp), %r9
 	addq	$200, %rsp
-.endm RESTORE_REGISTERS
+.endm
 
 	.text
 	.file "xray_trampoline_x86.S"




More information about the llvm-commits mailing list