projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more DWARF 5 language constants.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Win64EH.h
diff --git
a/include/llvm/Support/Win64EH.h
b/include/llvm/Support/Win64EH.h
index 8966c0d04ebea83f4164c9ab3dc1462a745bdefd..f6c492794875cccd07acef8886fd49782af7e17c 100644
(file)
--- a/
include/llvm/Support/Win64EH.h
+++ b/
include/llvm/Support/Win64EH.h
@@
-40,8
+40,8
@@
enum UnwindOpcodes {
/// or part thereof.
union UnwindCode {
struct {
/// or part thereof.
union UnwindCode {
struct {
-
support::ulittle
8_t CodeOffset;
-
support::ulittle
8_t UnwindOpAndOpInfo;
+
uint
8_t CodeOffset;
+
uint
8_t UnwindOpAndOpInfo;
} u;
support::ulittle16_t FrameOffset;
} u;
support::ulittle16_t FrameOffset;
@@
-74,10
+74,10
@@
struct RuntimeFunction {
/// UnwindInfo - An entry in the exception table.
struct UnwindInfo {
/// UnwindInfo - An entry in the exception table.
struct UnwindInfo {
-
support::ulittle
8_t VersionAndFlags;
-
support::ulittle
8_t PrologSize;
-
support::ulittle
8_t NumCodes;
-
support::ulittle
8_t FrameRegisterAndOffset;
+
uint
8_t VersionAndFlags;
+
uint
8_t PrologSize;
+
uint
8_t NumCodes;
+
uint
8_t FrameRegisterAndOffset;
UnwindCode UnwindCodes[1];
uint8_t getVersion() const {
UnwindCode UnwindCodes[1];
uint8_t getVersion() const {
@@
-108,8
+108,7
@@
struct UnwindInfo {
/// \brief Return pointer to language specific data part of UnwindInfo.
const void *getLanguageSpecificData() const {
/// \brief Return pointer to language specific data part of UnwindInfo.
const void *getLanguageSpecificData() const {
- return reinterpret_cast<const support::ulittle32_t *>(
- &UnwindCodes[(NumCodes + 1) & ~1]);
+ return reinterpret_cast<const void *>(&UnwindCodes[(NumCodes + 1) & ~1]);
}
/// \brief Return image-relative offset of language-specific exception handler.
}
/// \brief Return image-relative offset of language-specific exception handler.