mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 06:29:59 +00:00
e95b89db7a
This directory is used to find if there is a PDB associated with an executable. I plan to use this functionality to teach llvm-symbolizer whether it should use DIA or DWARF to symbolize a given DLL. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D20885 llvm-svn: 271539
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
RUN: llvm-readobj -coff-debug-directory %p/Inputs/has_pdb.exe | FileCheck %s
|
|
|
|
CHECK: DebugDirectory [
|
|
CHECK: DebugEntry {
|
|
CHECK: Characteristics: 0x0
|
|
CHECK: TimeDateStamp: 2016-06-01 22:53:16 (0x574F675C)
|
|
CHECK: MajorVersion: 0x0
|
|
CHECK: MinorVersion: 0x0
|
|
CHECK: Type: CodeView (0x2)
|
|
CHECK: SizeOfData: 0x36
|
|
CHECK: AddressOfRawData: 0x5B068
|
|
CHECK: PointerToRawData: 0x5A268
|
|
CHECK: PDBInfo {
|
|
CHECK: PDBSignature: 0x53445352
|
|
CHECK: PDBGUID: (96 83 40 42 81 07 9D 40 90 1B 4A 3C 0D 4F 56 32)
|
|
CHECK: PDBAge: 3
|
|
CHECK: PDBFileName: D:\src\llvm\build\has_pdb.pdb
|
|
CHECK: }
|
|
CHECK: }
|
|
CHECK: DebugEntry {
|
|
CHECK: Characteristics: 0x0
|
|
CHECK: TimeDateStamp: 2016-06-01 22:53:16 (0x574F675C)
|
|
CHECK: MajorVersion: 0x0
|
|
CHECK: MinorVersion: 0x0
|
|
CHECK: Type: VCFeature (0xC)
|
|
CHECK: SizeOfData: 0x14
|
|
CHECK: AddressOfRawData: 0x5B0A0
|
|
CHECK: PointerToRawData: 0x5A2A0
|
|
CHECK: RawData (
|
|
CHECK: 0000: 00000000 C1000000 C1000000 00000000 |................|
|
|
CHECK: 0010: C0000000 |....|
|
|
CHECK: )
|
|
CHECK: }
|
|
CHECK: ]
|