~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/MC/MachO/temp-labels.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -L -o - | macho-dump --dump-section-data | FileCheck %s
 
2
 
 
3
// CHECK:   # Load Command 1
 
4
// CHECK:  (('command', 2)
 
5
// CHECK:   ('size', 24)
 
6
// CHECK:   ('symoff', 296)
 
7
// CHECK:   ('nsyms', 2)
 
8
// CHECK:   ('stroff', 328)
 
9
// CHECK:   ('strsize', 8)
 
10
// CHECK:   ('_string_data', '\x00_f0\x00L0\x00')
 
11
// CHECK:   ('_symbols', [
 
12
// CHECK:     # Symbol 0
 
13
// CHECK:    (('n_strx', 1)
 
14
// CHECK:     ('n_type', 0xe)
 
15
// CHECK:     ('n_sect', 1)
 
16
// CHECK:     ('n_desc', 0)
 
17
// CHECK:     ('n_value', 0)
 
18
// CHECK:     ('_string', '_f0')
 
19
// CHECK:    ),
 
20
// CHECK:     # Symbol 1
 
21
// CHECK:    (('n_strx', 5)
 
22
// CHECK:     ('n_type', 0xe)
 
23
// CHECK:     ('n_sect', 1)
 
24
// CHECK:     ('n_desc', 0)
 
25
// CHECK:     ('n_value', 4)
 
26
// CHECK:     ('_string', 'L0')
 
27
// CHECK:    ),
 
28
// CHECK:   ])
 
29
// CHECK:  ),
 
30
_f0:
 
31
        .long 0
 
32
L0:
 
33
        .long 0