• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
2
3// Test that zed will be an ABS symbol
4
5.Lfoo:
6.Lbar:
7        zed = .Lfoo - .Lbar
8
9// CHECK:        Symbol {
10// CHECK:          Name: zed
11// CHECK-NEXT:     Value: 0x0
12// CHECK-NEXT:     Size: 0
13// CHECK-NEXT:     Binding: Local
14// CHECK-NEXT:     Type: None
15// CHECK-NEXT:     Other: 0
16// CHECK-NEXT:     Section: Absolute (0xFFF1)
17// CHECK-NEXT:   }
18