// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --file-headers -S --sd -r --macho-segment --macho-version-min - | FileCheck %s
.section __TEXT,__text,regular,pure_instructions
Leh_func_begin0:
.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
Ltmp3:
Ltmp4 = Leh_func_begin0-Ltmp3
.long Ltmp4
// CHECK: File: <stdin>
// CHECK-NEXT: Format: Mach-O 32-bit i386
// CHECK-NEXT: Arch: i386
// CHECK-NEXT: AddressSize: 32bit
// CHECK-NEXT: MachHeader {
// CHECK-NEXT: Magic:
// CHECK-NEXT: CpuType:
// CHECK-NEXT: CpuSubType:
// CHECK-NEXT: FileType:
// CHECK-NEXT: NumOfLoadCommands: 2
// CHECK-NEXT: SizeOfLoadCommands: 208
// CHECK-NEXT: Flags
// CHECK-NEXT: }
// CHECK-NEXT: Sections
// CHECK-NEXT: Relocations
// CHECK-NEXT: Segment {
// CHECK-NEXT: Cmd: LC_SEGMENT
// CHECK-NEXT: Name:
// CHECK-NEXT: Size: 192
// CHECK-NEXT: vmaddr: 0x0
// CHECK-NEXT: vmsize: 0x4
// CHECK-NEXT: fileoff: 236
// CHECK-NEXT: filesize: 4
// CHECK-NEXT: maxprot: rwx
// CHECK-NEXT: initprot: rwx
// CHECK-NEXT: nsects: 2
// CHECK-NEXT: flags: 0x0
// CHECK-NEXT: }
// CHECK-NEXT: MinVersion {
// CHECK-NEXT: Cmd: LC_VERSION_MIN_MACOSX
// CHECK-NEXT: Size: 16
// CHECK-NEXT: Version: 10.5
// CHECK-NEXT: SDK: n/a
// CHECK-NEXT: }