llvm-project/lld/test/COFF/pdbstream.test

9 lines
274 B
Plaintext

# RUN: yaml2obj %p/Inputs/empty.yaml -o %t.obj
# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbstream:srcsrv=%p/Inputs/stream.txt
# RUN: llvm-pdbutil export -stream=srcsrv -out=- %t.pdb | FileCheck %s
CHECK: Stream contents
CHECK-NEXT: Line 2
CHECK-NEXT: Line 3