1 ; RUN: llc --mtriple x86_64-apple-darwin -filetype=obj -O0 %s -o %t.o
2 ; RUN: llvm-objdump --macho -d --no-show-raw-insn %t.o | FileCheck %s
3 ; RUN: llvm-otool -tv %t.o | FileCheck %s
5 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
6 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
7 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
8 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
9 ; CHECK-NOT: invalid instruction encoding
10 ; CHECK-NOT: <unknown>
13 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
14 target triple = "x86_64-apple-macosx10.12.0"
16 ; Function Attrs: noinline nounwind optnone ssp uwtable
17 define void @switchfunc(i32 %i) {
18 switch i32 %i, label %out [