[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / expand-var.s
blob26209424351de8d86a937d75ea8b683736fa4851
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -r --symbols | FileCheck %s
3 // CHECK: Section {{.*}} .rela.text {
4 // CHECK-NEXT: 0x0 R_X86_64_32 d 0x0
5 // CHECK-NEXT: }
7 // CHECK: Symbol {
8 // CHECK: Name: d2
9 // CHECK-NEXT: Value: 0x2A
12 b = a
13 c = a
14 d = a
15 .weak d
16 .long d + (b - c)
19 a2:
20 .weak b2
21 b2 = a2
22 c2 = b2 - a2
23 d2 = b2 - a2 + 42