summaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-07-20 18:13:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-07-20 18:13:23 +0000
commit9d999f58e310ff03790bb32bb77f4e611b93807b (patch)
treeb4664008e9f0eb1ed03adb02aee1d8145a821097 /lib/MC
parent91e7ccd98bfa3db5f5c5d2ffa1ffb4061043af40 (diff)
downloadexternal_llvm-9d999f58e310ff03790bb32bb77f4e611b93807b.zip
external_llvm-9d999f58e310ff03790bb32bb77f4e611b93807b.tar.gz
external_llvm-9d999f58e310ff03790bb32bb77f4e611b93807b.tar.bz2
Initialize the EHFrameSection pointer to zero.
This should fix the spurious buildbot errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCObjectFileInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp
index cdf225a..5540b55 100644
--- a/lib/MC/MCObjectFileInfo.cpp
+++ b/lib/MC/MCObjectFileInfo.cpp
@@ -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();