File indexing completed on 2026-05-10 08:44:17
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_OBJECT_CVDEBUGRECORD_H
0010 #define LLVM_OBJECT_CVDEBUGRECORD_H
0011
0012 #include "llvm/Support/Endian.h"
0013
0014 namespace llvm {
0015 namespace OMF {
0016 struct Signature {
0017 enum ID : uint32_t {
0018 PDB70 = 0x53445352,
0019 PDB20 = 0x3031424e,
0020 CV50 = 0x3131424e,
0021 CV41 = 0x3930424e,
0022 };
0023
0024 support::ulittle32_t CVSignature;
0025 support::ulittle32_t Offset;
0026 };
0027 }
0028
0029 namespace codeview {
0030 struct PDB70DebugInfo {
0031 support::ulittle32_t CVSignature;
0032 uint8_t Signature[16];
0033 support::ulittle32_t Age;
0034
0035 };
0036
0037 struct PDB20DebugInfo {
0038 support::ulittle32_t CVSignature;
0039 support::ulittle32_t Offset;
0040 support::ulittle32_t Signature;
0041 support::ulittle32_t Age;
0042
0043 };
0044
0045 union DebugInfo {
0046 struct OMF::Signature Signature;
0047 struct PDB20DebugInfo PDB20;
0048 struct PDB70DebugInfo PDB70;
0049 };
0050 }
0051 }
0052
0053 #endif
0054