]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/s390x: don't crash on invalid instruction
authorIan Lance Taylor <iant@golang.org>
Fri, 7 Dec 2018 15:25:50 +0000 (07:25 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 7 Dec 2018 15:43:09 +0000 (15:43 +0000)
commite546ef123e6e3a28dc7722fb6bbf1161b7024163
tree1bb944cac84c6655efaee30c35a3f04a2db242a5
parent276870d6e0ff5d22b73feee56e0bad9096f01b22
cmd/internal/obj/s390x: don't crash on invalid instruction

I didn't bother with a test as there doesn't seem to be an existing
framework for testing assembler failures, and tests for invalid code
aren't all that interesting.

Fixes #26700

Change-Id: I719410d83527802a09b9d38625954fdb36a3c0f7
Reviewed-on: https://go-review.googlesource.com/c/153177
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/s390x/asmz.go