brintos

brintos / llvm-project-archived public Read only

0
0
Text · 529 B · 0d61447 Raw
20 lines · plain
1// REQUIRES: x862 3// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj4// RUN: lld-link -dll -noentry -debug %t.obj -out:%t.dll5// RUN: llvm-pdbutil dump -publics %t.pdb | FileCheck %s6 7// CHECK:       Records8// CHECK-NEXT:       0 | S_PUB32 [size = 20] `func`9// CHECK-NEXT:           flags = none, addr = 0001:000010// CHECK-NEXT:      20 | S_PUB32 [size = 20] `sym`11// CHECK-NEXT:           flags = none, addr = 0000:000012 13        .globl sym14        .data15sym:16        .text17        .globl func18func:19        ret20