Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM bpEVL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Albano
LLVM bpEVL
Commits
0e9b5760
Commit
0e9b5760
authored
5 years ago
by
Simon Pilgrim
Browse files
Options
Downloads
Patches
Plain Diff
TypeRecord - fix uninitialized variable warnings. NFCI.
parent
77cfe83f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
+26
-26
26 additions, 26 deletions
llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
with
26 additions
and
26 deletions
llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
+
26
−
26
View file @
0e9b5760
...
...
@@ -144,7 +144,7 @@ public:
ModifierOptions
getModifiers
()
const
{
return
Modifiers
;
}
TypeIndex
ModifiedType
;
ModifierOptions
Modifiers
;
ModifierOptions
Modifiers
=
ModifierOptions
::
None
;
};
// LF_PROCEDURE
...
...
@@ -168,7 +168,7 @@ public:
TypeIndex
ReturnType
;
CallingConvention
CallConv
;
FunctionOptions
Options
;
uint16_t
ParameterCount
;
uint16_t
ParameterCount
=
0
;
TypeIndex
ArgumentList
;
};
...
...
@@ -202,9 +202,9 @@ public:
TypeIndex
ThisType
;
CallingConvention
CallConv
;
FunctionOptions
Options
;
uint16_t
ParameterCount
;
uint16_t
ParameterCount
=
0
;
TypeIndex
ArgumentList
;
int32_t
ThisPointerAdjustment
;
int32_t
ThisPointerAdjustment
=
0
;
};
// LF_LABEL
...
...
@@ -351,7 +351,7 @@ public:
}
TypeIndex
ReferentType
;
uint32_t
Attrs
;
uint32_t
Attrs
=
0
;
Optional
<
MemberPointerInfo
>
MemberInfo
;
void
setAttrs
(
PointerKind
PK
,
PointerMode
PM
,
PointerOptions
PO
,
...
...
@@ -414,7 +414,7 @@ public:
TypeIndex
ElementType
;
TypeIndex
IndexType
;
uint64_t
Size
;
uint64_t
Size
=
0
;
StringRef
Name
;
};
...
...
@@ -459,7 +459,7 @@ public:
StringRef
getName
()
const
{
return
Name
;
}
StringRef
getUniqueName
()
const
{
return
UniqueName
;
}
uint16_t
MemberCount
;
uint16_t
MemberCount
=
0
;
ClassOptions
Options
;
TypeIndex
FieldList
;
StringRef
Name
;
...
...
@@ -496,7 +496,7 @@ public:
TypeIndex
DerivationList
;
TypeIndex
VTableShape
;
uint64_t
Size
;
uint64_t
Size
=
0
;
};
// LF_UNION
...
...
@@ -517,7 +517,7 @@ struct UnionRecord : public TagRecord {
uint64_t
getSize
()
const
{
return
Size
;
}
uint64_t
Size
;
uint64_t
Size
=
0
;
};
// LF_ENUM
...
...
@@ -550,8 +550,8 @@ public:
uint8_t
getBitSize
()
const
{
return
BitSize
;
}
TypeIndex
Type
;
uint8_t
BitSize
;
uint8_t
BitOffset
;
uint8_t
BitSize
=
0
;
uint8_t
BitOffset
=
0
;
};
// LF_VTSHAPE
...
...
@@ -592,7 +592,7 @@ public:
StringRef
getName
()
const
{
return
Name
;
}
GUID
Guid
;
uint32_t
Age
;
uint32_t
Age
=
0
;
StringRef
Name
;
};
...
...
@@ -644,7 +644,7 @@ public:
TypeIndex
UDT
;
TypeIndex
SourceFile
;
uint32_t
LineNumber
;
uint32_t
LineNumber
=
0
;
};
// LF_UDT_MOD_SRC_LINE
...
...
@@ -664,8 +664,8 @@ public:
TypeIndex
UDT
;
TypeIndex
SourceFile
;
uint32_t
LineNumber
;
uint16_t
Module
;
uint32_t
LineNumber
=
0
;
uint16_t
Module
=
0
;
};
// LF_BUILDINFO
...
...
@@ -717,7 +717,7 @@ public:
TypeIndex
CompleteClass
;
TypeIndex
OverriddenVFTable
;
uint32_t
VFPtrOffset
;
uint32_t
VFPtrOffset
=
0
;
std
::
vector
<
StringRef
>
MethodNames
;
};
...
...
@@ -749,7 +749,7 @@ public:
TypeIndex
Type
;
MemberAttributes
Attrs
;
int32_t
VFTableOffset
;
int32_t
VFTableOffset
=
0
;
StringRef
Name
;
};
...
...
@@ -780,7 +780,7 @@ public:
TypeIndex
getMethodList
()
const
{
return
MethodList
;
}
StringRef
getName
()
const
{
return
Name
;
}
uint16_t
NumOverloads
;
uint16_t
NumOverloads
=
0
;
TypeIndex
MethodList
;
StringRef
Name
;
};
...
...
@@ -806,7 +806,7 @@ public:
MemberAttributes
Attrs
;
TypeIndex
Type
;
uint64_t
FieldOffset
;
uint64_t
FieldOffset
=
0
;
StringRef
Name
;
};
...
...
@@ -883,7 +883,7 @@ public:
MemberAttributes
Attrs
;
TypeIndex
Type
;
uint64_t
Offset
;
uint64_t
Offset
=
0
;
};
// LF_VBCLASS, LF_IVBCLASS
...
...
@@ -911,8 +911,8 @@ public:
MemberAttributes
Attrs
;
TypeIndex
BaseType
;
TypeIndex
VBPtrType
;
uint64_t
VBPtrOffset
;
uint64_t
VTableIndex
;
uint64_t
VBPtrOffset
=
0
;
uint64_t
VTableIndex
=
0
;
};
/// LF_INDEX - Used to chain two large LF_FIELDLIST or LF_METHODLIST records
...
...
@@ -941,9 +941,9 @@ public:
uint32_t
getSignature
()
const
{
return
Signature
;
}
StringRef
getPrecompFilePath
()
const
{
return
PrecompFilePath
;
}
uint32_t
StartTypeIndex
;
uint32_t
TypesCount
;
uint32_t
Signature
;
uint32_t
StartTypeIndex
=
0
;
uint32_t
TypesCount
=
0
;
uint32_t
Signature
=
0
;
StringRef
PrecompFilePath
;
};
...
...
@@ -955,7 +955,7 @@ public:
uint32_t
getSignature
()
const
{
return
Signature
;
}
uint32_t
Signature
;
uint32_t
Signature
=
0
;
};
}
// end namespace codeview
...
...
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