Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / coff-debug-directory.test
blobf67eb70d82095c94bf86b8887ab8cb182eb46417
1 RUN: llvm-readobj --coff-debug-directory %p/Inputs/has_pdb.exe | FileCheck %s
3 CHECK: DebugDirectory [
4 CHECK:   DebugEntry {
5 CHECK:     Characteristics: 0x0
6 CHECK:     TimeDateStamp: 2016-06-01 22:53:16 (0x574F675C)
7 CHECK:     MajorVersion: 0x0
8 CHECK:     MinorVersion: 0x0
9 CHECK:     Type: CodeView (0x2)
10 CHECK:     SizeOfData: 0x36
11 CHECK:     AddressOfRawData: 0x5B068
12 CHECK:     PointerToRawData: 0x5A268
13 CHECK:     PDBInfo {
14 CHECK:       PDBSignature: 0x53445352
15 CHECK:       PDBGUID: (96 83 40 42 81 07 9D 40 90 1B 4A 3C 0D 4F 56 32)
16 CHECK:       PDBAge: 3
17 CHECK:       PDBFileName: D:\src\llvm\build\has_pdb.pdb
18 CHECK:     }
19 CHECK:   }
20 CHECK:   DebugEntry {
21 CHECK:     Characteristics: 0x0
22 CHECK:     TimeDateStamp: 2016-06-01 22:53:16 (0x574F675C)
23 CHECK:     MajorVersion: 0x0
24 CHECK:     MinorVersion: 0x0
25 CHECK:     Type: VCFeature (0xC)
26 CHECK:     SizeOfData: 0x14
27 CHECK:     AddressOfRawData: 0x5B0A0
28 CHECK:     PointerToRawData: 0x5A2A0
29 CHECK:     RawData (
30 CHECK:       0000: 00000000 C1000000 C1000000 00000000  |................|
31 CHECK:       0010: C0000000                             |....|
32 CHECK:     )
33 CHECK:   }
34 CHECK: ]