From d2088317a052dffac3adf26ff0c0e4e4446193c8 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 10 Jan 2019 17:45:56 +0000 Subject: TrapInstr must be 4 bytes long. Currently we write two zeros on every two bytes. --- lld/test/ELF/msp430.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lld/test/ELF/msp430.s') diff --git a/lld/test/ELF/msp430.s b/lld/test/ELF/msp430.s index 2d063696282..83548fdf4ce 100644 --- a/lld/test/ELF/msp430.s +++ b/lld/test/ELF/msp430.s @@ -38,3 +38,6 @@ foo: ; CHECK: Contents of section .data: ; CHECK-NEXT: 2000 21008000 800000 + +; RUN: od -x %t3 | FileCheck -check-prefix=TRAP %s +; TRAP: 4343 4343 4343 4343 4343 4343 4343 4343 -- cgit v1.2.3