[RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (#78475)
[llvm-project.git] / llvm / test / MC / ELF / abs.s
blob6cb28d56d11d0f4b44afe348eb61cd152de5744f
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols - | FileCheck %s
3 // Test that zed will be an ABS symbol
5 .Lfoo:
6 .Lbar:
7 zed = .Lfoo - .Lbar
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: }