diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-29 18:25:59 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-29 18:25:59 +0000 |
commit | 98ba358fdb0596d0d705a4e5295c7932f979b701 (patch) | |
tree | d181bb0387b782013c5feec59833300a231feeff /lib/MC/MCObjectFileInfo.cpp | |
parent | 4db5acaf48c119b2bb7ad93b10dfcfe8b58dcfdb (diff) |
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
Diffstat (limited to 'lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | lib/MC/MCObjectFileInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index 0cf98bd3b2..22da78e88b 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(); |