Initialize the EHFrameSection pointer to zero.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 20 Jul 2011 18:13:23 +0000 (18:13 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 20 Jul 2011 18:13:23 +0000 (18:13 +0000)
This should fix the spurious buildbot errors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135594 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCObjectFileInfo.cpp

index cdf225ae7b50a8f4088c46652de61a56ae710855..5540b55b1a800795dab9a1a1982aad2ef3d8597b 100644 (file)
@@ -454,6 +454,7 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef TT, Reloc::Model relocm,
   CommDirectiveSupportsAlignment = true;
   SupportsWeakOmittedEHFrame = true;
   IsFunctionEHFrameSymbolPrivate = true;
+  EHFrameSection = 0;
 
   Triple T(TT);
   Triple::ArchType Arch = T.getArch();