]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: align functions with trap instruction
authorIlya Tocar <ilya.tocar@intel.com>
Tue, 20 Oct 2015 11:52:08 +0000 (14:52 +0300)
committerKeith Randall <khr@golang.org>
Tue, 20 Oct 2015 15:48:49 +0000 (15:48 +0000)
commit7d2c6eb3f53d4fa54587ff52ecb739bd4b13f9ab
tree85e6a07df90bba7bd7900aa8cc57d2418579bcfd
parent77b1fef27e736764395633413fc13c14d8fed712
cmd/internal/obj/x86: align functions with trap instruction

Align functions with 0xCC (INT $3) - breakpoint instruction,
instead of 0x00, which can disassemble into valid instruction.

Change-Id: Ieda191886efc4aacb86f58bea1169fd1b3b57636
Reviewed-on: https://go-review.googlesource.com/16102
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
Reviewed-by: Gregory Shimansky <gregory.shimansky@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/internal/obj/x86/asm6.go