LLVM 20.0.0git
RawConstants.h
Go to the documentation of this file.
1//===- RawConstants.h -------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_RAWCONSTANTS_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_RAWCONSTANTS_H
11
14#include <cstdint>
15
16namespace llvm {
17namespace pdb {
18
20
22 PdbImplVC2 = 19941610,
23 PdbImplVC4 = 19950623,
24 PdbImplVC41 = 19950814,
25 PdbImplVC50 = 19960307,
26 PdbImplVC98 = 19970604,
27 PdbImplVC70Dep = 19990604, // deprecated
28 PdbImplVC70 = 20000404,
29 PdbImplVC80 = 20030901,
30 PdbImplVC110 = 20091201,
31 PdbImplVC140 = 20140508,
32};
33
34enum class PdbRaw_SrcHeaderBlockVer : uint32_t { SrcVerOne = 19980827 };
35
39 NoTypeMerge = 0x4D544F4E,
40 MinimalDebugInfo = 0x494E494D,
41};
42
49};
50
52 PdbDbiVC41 = 930803,
53 PdbDbiV50 = 19960307,
54 PdbDbiV60 = 19970606,
55 PdbDbiV70 = 19990903,
56 PdbDbiV110 = 20091201
57};
58
60 PdbTpiV40 = 19950410,
61 PdbTpiV41 = 19951122,
62 PdbTpiV50 = 19961031,
63 PdbTpiV70 = 19990903,
64 PdbTpiV80 = 20040203,
65};
66
68 DbiSecContribVer60 = 0xeffe0000 + 19970605,
69 DbiSecContribV2 = 0xeffe0000 + 20140516
70};
71
73 // Stream 0 contains the copy of previous version of the MSF directory.
74 // We are not currently using it, but technically if we find the main
75 // MSF is corrupted, we could fallback to it.
77
82
84};
85
86enum class DbgHeaderType : uint16_t {
87 FPO,
89 Fixup,
94 Xdata,
95 Pdata,
96 NewFPO,
98 Max
99};
100
102 None = 0,
103 Read = 1 << 0, // Segment is readable.
104 Write = 1 << 1, // Segment is writable.
105 Execute = 1 << 2, // Segment is executable.
106 AddressIs32Bit = 1 << 3, // Descriptor describes a 32-bit linear address.
107 IsSelector = 1 << 8, // Frame represents a selector.
108 IsAbsoluteAddress = 1 << 9, // Frame represents an absolute address.
109 IsGroup = 1 << 10, // If set, descriptor represents a group.
110 LLVM_MARK_AS_BITMASK_ENUM(/* LargestValue = */ IsGroup)
111};
112
114
115} // end namespace pdb
116} // end namespace llvm
117
118#endif // LLVM_DEBUGINFO_PDB_NATIVE_RAWCONSTANTS_H
const uint16_t kInvalidStreamIndex
Definition: RawConstants.h:19
@ kSpecialStreamCount
Definition: RawConstants.h:83
@ OldMSFDirectory
Definition: RawConstants.h:76
@ PdbFeatureNone
Definition: RawConstants.h:44
@ PdbFeatureMinimalDebugInfo
Definition: RawConstants.h:46
@ PdbFeatureNoTypeMerging
Definition: RawConstants.h:47
@ PdbFeatureContainsIdStream
Definition: RawConstants.h:45
PdbRaw_SrcHeaderBlockVer
Definition: RawConstants.h:34
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()
@ PdbImplVC70Dep
Definition: RawConstants.h:27
PdbRaw_DbiSecContribVer
Definition: RawConstants.h:67
@ DbiSecContribVer60
Definition: RawConstants.h:68
@ DbiSecContribV2
Definition: RawConstants.h:69
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18