• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -t | FileCheck %s
2
3foo:
4bar = .
5	.size	foo, . - bar + 42
6
7// CHECK:       Symbol {
8// CHECK:         Name: foo
9// CHECK-NEXT:    Value: 0x0
10// CHECK-NEXT:    Size: 42
11// CHECK-NEXT:    Binding: Local
12// CHECK-NEXT:    Type: None
13// CHECK-NEXT:    Other: 0
14// CHECK-NEXT:    Section: .text
15// CHECK-NEXT:  }
16