[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / build-id-sym.s
blobfaed7bc40fd068ddcdf5f89ff2ea2870daa81607
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
3 # RUN: lld-link -debug:symtab -entry:main %t.obj -build-id -Brepro -out:%t.exe
4 # RUN: llvm-objdump -s -t %t.exe | FileCheck %s
6 # Check __buildid points to 0x14000203c which is after the signature RSDS.
8 # CHECK: SYMBOL TABLE:
9 # CHECK-NEXT: 0x0000003c __buildid
10 # CHECK: Contents of section .rdata:
11 # CHECK-NEXT: 140002000
12 # CHECK-NEXT: 140002010
13 # CHECK-NEXT: 140002020
14 # CHECK-NEXT: 140002030 {{.*}} {{.*}} 52534453 {{.*}}
15 # CHECK-NEXT: 140002040
17 .globl main
18 main:
19 nop
21 .section .bss,"bw",discard,__buildid
22 .global __buildid
23 __buildid: