[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / undef.s
blobf313d71369ef73fef9280d868912dac97677cf87
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
3 // Test which symbols should be in the symbol table
5 .Lsym2:
6 .Lsym3:
7 .Lsym4 = .Lsym2 - .Lsym3
8 .long .Lsym4
10 .type .Lsym5,@object
11 .type sym6,@object
12 .long sym6
14 .section .rodata.str1.1,"aMS",@progbits,1
15 .Lsym7:
16 .Lsym8:
18 .text
19 movsd .Lsym8(%rip), %xmm1
21 test2_a = undef
22 test2_b = undef + 1
24 // CHECK: Symbols [
25 // CHECK-NEXT: Symbol {
26 // CHECK-NEXT: Name: (0)
27 // CHECK-NEXT: Value: 0x0
28 // CHECK-NEXT: Size: 0
29 // CHECK-NEXT: Binding: Local
30 // CHECK-NEXT: Type: None
31 // CHECK-NEXT: Other: 0
32 // CHECK-NEXT: Section: Undefined
33 // CHECK-NEXT: }
34 // CHECK-NEXT: Symbol {
35 // CHECK-NEXT: Name: .Lsym8
36 // CHECK-NEXT: Value: 0x0
37 // CHECK-NEXT: Size: 0
38 // CHECK-NEXT: Binding: Local
39 // CHECK-NEXT: Type: None
40 // CHECK-NEXT: Other: 0
41 // CHECK-NEXT: Section: .rodata.str1.1
42 // CHECK-NEXT: }
43 // CHECK-NEXT: Symbol {
44 // CHECK-NEXT: Name: sym6
45 // CHECK-NEXT: Value: 0x0
46 // CHECK-NEXT: Size: 0
47 // CHECK-NEXT: Binding: Global
48 // CHECK-NEXT: Type: Object
49 // CHECK-NEXT: Other: 0
50 // CHECK-NEXT: Section: Undefined
51 // CHECK-NEXT: }
52 // CHECK-NEXT: ]