1
; RUN: llc -O0 -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | macho-dump | FileCheck %s
3
; There should not be a data-in-code load command (type 0x29) for x86_64
4
; jump tables, even though they are in the text section.
5
; CHECK: 'num_load_commands'
6
; CHECK-NOT: (('command', 41)
8
define void @foo(i32* %ptr) nounwind ssp {
9
%tmp = load i32, i32* %ptr, align 4
10
switch i32 %tmp, label %default [