[RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (#78475)
[llvm-project.git] / llvm / test / MC / ELF / alias-to-local.s
blobbeff230a8db30d4d55c73b4532b925804805c7d2
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu < %s | llvm-readobj -r - | FileCheck %s
3 // CHECK: Relocations [
4 // CHECK-NEXT: Section {{.*}} .rela.text {
5 // CHECK-NEXT: 0x1 R_X86_64_32 zed 0x0
6 // CHECK-NEXT: }
7 // CHECK-NEXT: ]
9 foo:
10 movl $zed, %eax
13 .section .data.bar,"awG",@progbits,zed,comdat
14 bar:
15 .byte 42
17 .globl zed
18 zed = bar