Changeset View
Changeset View
Standalone View
Standalone View
lld/test/COFF/pdb-invalid-func-type.yaml
# This test has an S_GPROC32_ID symbol with an invalid type index. Make sure we | # This test has an S_GPROC32_ID symbol with an invalid type index. Make sure we | ||||
# keep the record, or we'll have unbalanced scopes, which is bad. This situation | # keep the record, or we'll have unbalanced scopes, which is bad. This situation | ||||
# can arise when we can't find the type server PDB. | # can arise when we can't find the type server PDB. | ||||
# RUN: yaml2obj %s -o %t.obj | # RUN: yaml2obj %s -o %t.obj | ||||
# RUN: lld-link %t.obj -out:%t.exe -debug -pdb:%t.pdb -nodefaultlib -entry:main | # RUN: lld-link %t.obj -out:%t.exe -debug -pdb:%t.pdb -nodefaultlib -entry:main | ||||
# RUN: llvm-pdbutil dump -symbols %t.pdb | FileCheck %s | # RUN: llvm-pdbutil dump -symbols %t.pdb | FileCheck %s | ||||
# CHECK: Mod 0000 | `{{.*}}pdb-invalid-func-type.yaml.tmp.obj`: | # CHECK: Mod 0000 | `{{.*}}pdb-invalid-func-type.yaml.tmp.obj`: | ||||
# CHECK: 4 | S_GPROC32_ID [size = 44] `main` | # CHECK: 4 | S_GPROC32 [size = 44] `main` | ||||
# CHECK: parent = 0, end = 80, addr = 0001:0000, code size = 3 | # CHECK: parent = 0, end = 80, addr = 0001:0000, code size = 3 | ||||
# CHECK: 48 | S_FRAMEPROC [size = 32] | # CHECK: 48 | S_FRAMEPROC [size = 32] | ||||
# CHECK: 80 | S_END [size = 4] | # CHECK: 80 | S_END [size = 4] | ||||
--- !COFF | --- !COFF | ||||
header: | header: | ||||
Machine: IMAGE_FILE_MACHINE_AMD64 | Machine: IMAGE_FILE_MACHINE_AMD64 | ||||
Characteristics: [ ] | Characteristics: [ ] | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |