LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
include
llvm
DebugInfo
PDB
Raw
RawConstants.h
Go to the documentation of this file.
1
//===- RawConstants.h -------------------------------------------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLVM_DEBUGINFO_PDB_RAW_PDBRAWCONSTANTS_H
11
#define LLVM_DEBUGINFO_PDB_RAW_PDBRAWCONSTANTS_H
12
13
#include "
llvm/DebugInfo/CodeView/CodeView.h
"
14
15
#include <cstdint>
16
17
namespace
llvm {
18
namespace
pdb {
19
20
const
uint16_t
kInvalidStreamIndex
= 0xFFFF;
21
22
enum
PdbRaw_ImplVer
:
uint32_t
{
23
PdbImplVC2
= 19941610,
24
PdbImplVC4
= 19950623,
25
PdbImplVC41
= 19950814,
26
PdbImplVC50
= 19960307,
27
PdbImplVC98
= 19970604,
28
PdbImplVC70Dep
= 19990604,
// deprecated
29
PdbImplVC70
= 20000404,
30
PdbImplVC80
= 20030901,
31
PdbImplVC110
= 20091201,
32
PdbImplVC140
= 20140508,
33
};
34
35
enum
PdbRaw_DbiVer
:
uint32_t
{
36
PdbDbiVC41
= 930803,
37
PdbDbiV50
= 19960307,
38
PdbDbiV60
= 19970606,
39
PdbDbiV70
= 19990903,
40
PdbDbiV110
= 20091201
41
};
42
43
enum
PdbRaw_TpiVer
:
uint32_t
{
44
PdbTpiV40
= 19950410,
45
PdbTpiV41
= 19951122,
46
PdbTpiV50
= 19961031,
47
PdbTpiV70
= 19990903,
48
PdbTpiV80
= 20040203,
49
};
50
51
enum
PdbRaw_DbiSecContribVer
:
uint32_t
{
52
DbiSecContribVer60
= 0xeffe0000 + 19970605,
53
DbiSecContribV2
= 0xeffe0000 + 20140516
54
};
55
56
enum
SpecialStream
:
uint32_t
{
57
// Stream 0 contains the copy of previous version of the MSF directory.
58
// We are not currently using it, but technically if we find the main
59
// MSF is corrupted, we could fallback to it.
60
OldMSFDirectory
= 0,
61
62
StreamPDB
= 1,
63
StreamTPI
= 2,
64
StreamDBI
= 3,
65
StreamIPI
= 4,
66
67
kSpecialStreamCount
68
};
69
70
enum class
DbgHeaderType
: uint16_t {
71
FPO
,
72
Exception
,
73
Fixup
,
74
OmapToSrc
,
75
OmapFromSrc
,
76
SectionHdr
,
77
TokenRidMap
,
78
Xdata
,
79
Pdata
,
80
NewFPO
,
81
SectionHdrOrig
,
82
Max
83
};
84
85
enum class
OMFSegDescFlags
: uint16_t {
86
Read
= 1 << 0,
// Segment is readable.
87
Write
= 1 << 1,
// Segment is writable.
88
Execute
= 1 << 2,
// Segment is executable.
89
AddressIs32Bit
= 1 << 3,
// Descriptor describes a 32-bit linear address.
90
IsSelector
= 1 << 8,
// Frame represents a selector.
91
IsAbsoluteAddress
= 1 << 9,
// Frame represents an absolute address.
92
IsGroup
= 1 << 10
// If set, descriptor represents a group.
93
};
94
95
}
// end namespace pdb
96
}
// end namespace llvm
97
98
#endif // LLVM_DEBUGINFO_PDB_RAW_PDBRAWCONSTANTS_H
llvm::pdb::DbiSecContribV2
Definition:
RawConstants.h:53
llvm::pdb::PdbTpiV70
Definition:
RawConstants.h:47
llvm::pdb::PdbRaw_DbiVer
PdbRaw_DbiVer
Definition:
RawConstants.h:35
llvm::pdb::DbgHeaderType::OmapToSrc
llvm::pdb::OMFSegDescFlags::Read
llvm::pdb::PdbTpiV80
Definition:
RawConstants.h:48
llvm::pdb::DbgHeaderType::Fixup
llvm::pdb::StreamDBI
Definition:
RawConstants.h:64
CodeView.h
llvm::pdb::PdbImplVC50
Definition:
RawConstants.h:26
llvm::pdb::DbgHeaderType::OmapFromSrc
llvm::pdb::DbgHeaderType::Exception
llvm::pdb::StreamTPI
Definition:
RawConstants.h:63
llvm::pdb::DbgHeaderType::SectionHdrOrig
llvm::pdb::StreamPDB
Definition:
RawConstants.h:62
llvm::pdb::StreamIPI
Definition:
RawConstants.h:65
llvm::pdb::PdbDbiVC41
Definition:
RawConstants.h:36
llvm::pdb::PdbImplVC70Dep
Definition:
RawConstants.h:28
llvm::pdb::PdbRaw_TpiVer
PdbRaw_TpiVer
Definition:
RawConstants.h:43
llvm::pdb::DbgHeaderType::SectionHdr
llvm::pdb::PdbDbiV50
Definition:
RawConstants.h:37
llvm::pdb::kInvalidStreamIndex
const uint16_t kInvalidStreamIndex
Definition:
RawConstants.h:20
llvm::pdb::DbiSecContribVer60
Definition:
RawConstants.h:52
llvm::pdb::OMFSegDescFlags::IsSelector
llvm::pdb::PDB_StackFrameType::FPO
llvm::pdb::PdbDbiV110
Definition:
RawConstants.h:40
llvm::pdb::OMFSegDescFlags::Execute
llvm::pdb::PdbTpiV40
Definition:
RawConstants.h:44
llvm::pdb::PdbTpiV50
Definition:
RawConstants.h:46
uint32_t
llvm::pdb::OMFSegDescFlags
OMFSegDescFlags
Definition:
RawConstants.h:85
llvm::pdb::OMFSegDescFlags::IsAbsoluteAddress
llvm::pdb::DbgHeaderType::Pdata
llvm::pdb::PdbRaw_DbiSecContribVer
PdbRaw_DbiSecContribVer
Definition:
RawConstants.h:51
llvm::pdb::PdbImplVC140
Definition:
RawConstants.h:32
llvm::pdb::PdbImplVC98
Definition:
RawConstants.h:27
llvm::pdb::PdbTpiV41
Definition:
RawConstants.h:45
llvm::pdb::PdbImplVC4
Definition:
RawConstants.h:24
llvm::pdb::DbgHeaderType::Xdata
llvm::pdb::OMFSegDescFlags::IsGroup
llvm::pdb::OMFSegDescFlags::AddressIs32Bit
llvm::pdb::DbgHeaderType::TokenRidMap
llvm::pdb::SpecialStream
SpecialStream
Definition:
RawConstants.h:56
llvm::pdb::DbgHeaderType
DbgHeaderType
Definition:
RawConstants.h:70
llvm::pdb::PdbImplVC110
Definition:
RawConstants.h:31
llvm::pdb::PdbImplVC2
Definition:
RawConstants.h:23
llvm::pdb::DbgHeaderType::Max
llvm::pdb::PdbImplVC41
Definition:
RawConstants.h:25
llvm::pdb::OMFSegDescFlags::Write
llvm::pdb::DbgHeaderType::NewFPO
llvm::pdb::PdbDbiV70
Definition:
RawConstants.h:39
llvm::pdb::PdbDbiV60
Definition:
RawConstants.h:38
llvm::pdb::PdbRaw_ImplVer
PdbRaw_ImplVer
Definition:
RawConstants.h:22
llvm::pdb::PdbImplVC80
Definition:
RawConstants.h:30
llvm::pdb::PdbImplVC70
Definition:
RawConstants.h:29
llvm::pdb::kSpecialStreamCount
Definition:
RawConstants.h:67
llvm::pdb::OldMSFDirectory
Definition:
RawConstants.h:60
Generated on Wed Mar 8 2017 17:20:14 for LLVM by
1.8.6