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
This commit is contained in:
Bill Wendling 2011-08-29 18:25:59 +00:00
parent 4db5acaf48
commit 98ba358fdb

View File

@ -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();