• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s | llvm-readobj --symbols - | FileCheck %s
2
3# CHECK: Symbols [
4# CHECK:   Symbol {
5# CHECK:     Name: .file
6# CHECK:     Value: 0
7# CHECK:     Section:  IMAGE_SYM_DEBUG (-2)
8# CHECK:     BaseType: Null (0x0)
9# CHECK:     ComplexType: Null (0x0)
10# CHECK:     StorageClass: File (0x67)
11# CHECK:     AuxSymbolCount: 3
12# CHECK:     AuxFileRecord {
13# CHECK:       FileName: first-section-has-eighteen-characters.asm
14# CHECK:     }
15# CHECK-NOT:     AuxFileRecord {
16# CHECK:   }
17# CHECK: ]
18
19!COFF
20header: !Header
21  Machine: IMAGE_FILE_MACHINE_I386 # (0x14c)
22  Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
23sections:
24symbols:
25  - !Symbol
26    Name: .file
27    Value: 0
28    SectionNumber: -2
29    SimpleType: IMAGE_SYM_TYPE_NULL
30    ComplexType: IMAGE_SYM_DTYPE_NULL
31    StorageClass: IMAGE_SYM_CLASS_FILE
32    File: first-section-has-eighteen-characters.asm
33  - !Symbol
34    Name: '@comp.id'
35    Value: 13485607
36    SectionNumber: -1
37    SimpleType: IMAGE_SYM_TYPE_NULL
38    ComplexType: IMAGE_SYM_DTYPE_NULL
39    StorageClass: IMAGE_SYM_CLASS_STATIC
40