projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-sort #include lines using my handy dandy ./utils/sort_includes.py
[oota-llvm.git]
/
include
/
llvm
/
DebugInfo
/
PDB
/
PDBTypes.h
diff --git
a/include/llvm/DebugInfo/PDB/PDBTypes.h
b/include/llvm/DebugInfo/PDB/PDBTypes.h
index 0009b02505a46f2c717b3007fa82100c720ed4fa..e933621729bb751b316c0abf45a0674784ba7c5c 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBTypes.h
+++ b/
include/llvm/DebugInfo/PDB/PDBTypes.h
@@
-10,9
+10,9
@@
#ifndef LLVM_DEBUGINFO_PDB_PDBTYPES_H
#define LLVM_DEBUGINFO_PDB_PDBTYPES_H
#ifndef LLVM_DEBUGINFO_PDB_PDBTYPES_H
#define LLVM_DEBUGINFO_PDB_PDBTYPES_H
-#include <stdint.h>
-#include <functional>
#include "llvm/Config/llvm-config.h"
#include "llvm/Config/llvm-config.h"
+#include <functional>
+#include <stdint.h>
namespace llvm {
namespace llvm {
@@
-433,6
+433,44
@@
struct VersionInfo {
uint32_t QFE;
};
uint32_t QFE;
};
+enum PDB_VariantType {
+ Empty,
+ Unknown,
+ Int8,
+ Int16,
+ Int32,
+ Int64,
+ Single,
+ Double,
+ UInt8,
+ UInt16,
+ UInt32,
+ UInt64,
+ Bool,
+};
+
+struct Variant {
+ Variant()
+ : Type(PDB_VariantType::Empty) {
+ }
+
+ PDB_VariantType Type;
+ union {
+ bool Bool;
+ int8_t Int8;
+ int16_t Int16;
+ int32_t Int32;
+ int64_t Int64;
+ float Single;
+ double Double;
+ uint8_t UInt8;
+ uint16_t UInt16;
+ uint32_t UInt32;
+ uint64_t UInt64;
+ void* Pointer;
+ };
+};
+
} // namespace llvm
namespace std {
} // namespace llvm
namespace std {