Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
daeeab36
Commit
daeeab36
authored
6 years ago
by
Nat Goodspeed
Browse files
Options
Downloads
Patches
Plain Diff
DRTVWR-476: Eliminate unnecessary typedefs from struct, enum decls.
With VS 2017, these produced fatal warnings.
parent
25a65844
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llcommon/StackWalker.cpp
+2
-2
2 additions, 2 deletions
indra/llcommon/StackWalker.cpp
indra/llcommon/StackWalker.h
+1
-1
1 addition, 1 deletion
indra/llcommon/StackWalker.h
with
3 additions
and
3 deletions
indra/llcommon/StackWalker.cpp
+
2
−
2
View file @
daeeab36
...
@@ -422,7 +422,7 @@ class StackWalkerInternal
...
@@ -422,7 +422,7 @@ class StackWalkerInternal
LPSTR
m_szSymPath
;
LPSTR
m_szSymPath
;
#pragma pack(push,8)
#pragma pack(push,8)
typedef
struct
IMAGEHLP_MODULE64_V3
{
struct
IMAGEHLP_MODULE64_V3
{
DWORD
SizeOfStruct
;
// set to sizeof(IMAGEHLP_MODULE64)
DWORD
SizeOfStruct
;
// set to sizeof(IMAGEHLP_MODULE64)
DWORD64
BaseOfImage
;
// base load address of module
DWORD64
BaseOfImage
;
// base load address of module
DWORD
ImageSize
;
// virtual size of the loaded module
DWORD
ImageSize
;
// virtual size of the loaded module
...
@@ -450,7 +450,7 @@ typedef struct IMAGEHLP_MODULE64_V3 {
...
@@ -450,7 +450,7 @@ typedef struct IMAGEHLP_MODULE64_V3 {
BOOL
Publics
;
// contains public symbols
BOOL
Publics
;
// contains public symbols
};
};
typedef
struct
IMAGEHLP_MODULE64_V2
{
struct
IMAGEHLP_MODULE64_V2
{
DWORD
SizeOfStruct
;
// set to sizeof(IMAGEHLP_MODULE64)
DWORD
SizeOfStruct
;
// set to sizeof(IMAGEHLP_MODULE64)
DWORD64
BaseOfImage
;
// base load address of module
DWORD64
BaseOfImage
;
// base load address of module
DWORD
ImageSize
;
// virtual size of the loaded module
DWORD
ImageSize
;
// virtual size of the loaded module
...
...
This diff is collapsed.
Click to expand it.
indra/llcommon/StackWalker.h
+
1
−
1
View file @
daeeab36
...
@@ -148,7 +148,7 @@ class StackWalker
...
@@ -148,7 +148,7 @@ class StackWalker
CHAR
loadedImageName
[
STACKWALK_MAX_NAMELEN
];
CHAR
loadedImageName
[
STACKWALK_MAX_NAMELEN
];
}
CallstackEntry
;
}
CallstackEntry
;
typedef
enum
CallstackEntryType
{
firstEntry
,
nextEntry
,
lastEntry
};
enum
CallstackEntryType
{
firstEntry
,
nextEntry
,
lastEntry
};
virtual
void
OnSymInit
(
LPCSTR
szSearchPath
,
DWORD
symOptions
,
LPCSTR
szUserName
);
virtual
void
OnSymInit
(
LPCSTR
szSearchPath
,
DWORD
symOptions
,
LPCSTR
szUserName
);
virtual
void
OnLoadModule
(
LPCSTR
img
,
LPCSTR
mod
,
DWORD64
baseAddr
,
DWORD
size
,
DWORD
result
,
LPCSTR
symType
,
LPCSTR
pdbName
,
ULONGLONG
fileVersion
);
virtual
void
OnLoadModule
(
LPCSTR
img
,
LPCSTR
mod
,
DWORD64
baseAddr
,
DWORD
size
,
DWORD
result
,
LPCSTR
symType
,
LPCSTR
pdbName
,
ULONGLONG
fileVersion
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment