forked from OSchip/llvm-project
MC: Initialize MCFragment::Offset, noticed by Cameron Esfahani.
llvm-svn: 109875
This commit is contained in:
parent
c90e82a7f1
commit
5dc31317dd
|
@ -182,7 +182,8 @@ MCFragment::~MCFragment() {
|
|||
}
|
||||
|
||||
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
|
||||
: Kind(_Kind), Parent(_Parent), Atom(0), EffectiveSize(~UINT64_C(0))
|
||||
: Kind(_Kind), Parent(_Parent), Atom(0), Offset(~UINT64_C(0)),
|
||||
EffectiveSize(~UINT64_C(0))
|
||||
{
|
||||
if (Parent)
|
||||
Parent->getFragmentList().push_back(this);
|
||||
|
|
Loading…
Reference in New Issue