aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-29 18:25:59 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-29 18:25:59 +0000
commitebab7357883dc37a167f47954bf7710892b3eb08 (patch)
tree5ee1995da696de390419255a32fce7d30c699398 /llvm/lib/MC/MCObjectFileInfo.cpp
parent7dfa791f4fe9cd8896cbf3472311338c912d2514 (diff)
downloadllvm-ebab7357883dc37a167f47954bf7710892b3eb08.zip
llvm-ebab7357883dc37a167f47954bf7710892b3eb08.tar.gz
llvm-ebab7357883dc37a167f47954bf7710892b3eb08.tar.bz2
Initialize CompactUnwindSection so that other targets won't use an uninitialized value.
llvm-svn: 138752
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 0cf98bd..22da78e 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/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();