llvm-6502/test/MC/MachO/temp-labels.s
Eric Christopher e648d75c60 This command line option is only used in one place. Move it there and
rename it to something more descriptive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209263 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-21 00:20:01 +00:00

34 lines
904 B
ArmAsm

// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | macho-dump --dump-section-data | FileCheck %s
// CHECK: # Load Command 1
// CHECK: (('command', 2)
// CHECK: ('size', 24)
// CHECK: ('symoff', 296)
// CHECK: ('nsyms', 2)
// CHECK: ('stroff', 328)
// CHECK: ('strsize', 8)
// CHECK: ('_string_data', '\x00_f0\x00L0\x00')
// CHECK: ('_symbols', [
// CHECK: # Symbol 0
// CHECK: (('n_strx', 1)
// CHECK: ('n_type', 0xe)
// CHECK: ('n_sect', 1)
// CHECK: ('n_desc', 0)
// CHECK: ('n_value', 0)
// CHECK: ('_string', '_f0')
// CHECK: ),
// CHECK: # Symbol 1
// CHECK: (('n_strx', 5)
// CHECK: ('n_type', 0xe)
// CHECK: ('n_sect', 1)
// CHECK: ('n_desc', 0)
// CHECK: ('n_value', 4)
// CHECK: ('_string', 'L0')
// CHECK: ),
// CHECK: ])
// CHECK: ),
_f0:
.long 0
L0:
.long 0