1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s 2 3 // Test that both foo and bar are undefined. 4 5 .globl foo 6 .globl bar 7 mov %eax,bar 8 9 10 // CHECK: Symbol { 11 // CHECK: Name: bar 12 // CHECK-NEXT: Value: 0x0 13 // CHECK-NEXT: Size: 0 14 // CHECK-NEXT: Binding: Global 15 // CHECK-NEXT: Type: None 16 // CHECK-NEXT: Other: 0 17 // CHECK-NEXT: Section: Undefined (0x0) 18 // CHECK-NEXT: } 19 // CHECK-NEXT: Symbol { 20 // CHECK-NEXT: Name: foo 21 // CHECK-NEXT: Value: 0x0 22 // CHECK-NEXT: Size: 0 23 // CHECK-NEXT: Binding: Global 24 // CHECK-NEXT: Type: None 25 // CHECK-NEXT: Other: 0 26 // CHECK-NEXT: Section: Undefined (0x0) 27 // CHECK-NEXT: } 28