From: Bill Wendling Date: Mon, 29 Aug 2011 18:25:59 +0000 (+0000) Subject: Initialize CompactUnwindSection so that other targets won't use an uninitialized... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98ba358fdb0596d0d705a4e5295c7932f979b701;p=oota-llvm.git Initialize CompactUnwindSection so that other targets won't use an uninitialized value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138752 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index 0cf98bd3b2a..22da78e88b2 100644 --- a/lib/MC/MCObjectFileInfo.cpp +++ b/lib/MC/MCObjectFileInfo.cpp @@ -505,7 +505,8 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef TT, Reloc::Model relocm, PersonalityEncoding = LSDAEncoding = FDEEncoding = FDECFIEncoding = TTypeEncoding = dwarf::DW_EH_PE_absptr; - EHFrameSection = 0; // Created on demand. + EHFrameSection = 0; // Created on demand. + CompactUnwindSection = 0; // Used only be select targets. Triple T(TT); Triple::ArchType Arch = T.getArch();