Fix up TargetLoweringObjectFile ctors to properly initialize fields.

llvm-svn: 135068
This commit is contained in:
Evan Cheng
2011-07-13 19:54:59 +00:00
parent de223c3a7b
commit 2d7faa5e3e
3 changed files with 70 additions and 29 deletions

View File

@@ -35,32 +35,32 @@ using namespace llvm;
// Generic Code
//===----------------------------------------------------------------------===//
TargetLoweringObjectFile::TargetLoweringObjectFile() : Ctx(0) {
TextSection = 0;
DataSection = 0;
BSSSection = 0;
ReadOnlySection = 0;
StaticCtorSection = 0;
StaticDtorSection = 0;
LSDASection = 0;
CompactUnwindSection = 0;
CommDirectiveSupportsAlignment = true;
DwarfAbbrevSection = 0;
DwarfInfoSection = 0;
DwarfLineSection = 0;
DwarfFrameSection = 0;
DwarfPubNamesSection = 0;
DwarfPubTypesSection = 0;
DwarfDebugInlineSection = 0;
DwarfStrSection = 0;
DwarfLocSection = 0;
DwarfARangesSection = 0;
DwarfRangesSection = 0;
DwarfMacroInfoSection = 0;
IsFunctionEHFrameSymbolPrivate = true;
SupportsWeakOmittedEHFrame = true;
TargetLoweringObjectFile::TargetLoweringObjectFile() :
Ctx(0),
TextSection(0),
DataSection(0),
BSSSection(0),
ReadOnlySection(0),
StaticCtorSection(0),
StaticDtorSection(0),
LSDASection(0),
CompactUnwindSection(0),
DwarfAbbrevSection(0),
DwarfInfoSection(0),
DwarfLineSection(0),
DwarfFrameSection(0),
DwarfPubNamesSection(0),
DwarfPubTypesSection(0),
DwarfDebugInlineSection(0),
DwarfStrSection(0),
DwarfLocSection(0),
DwarfARangesSection(0),
DwarfRangesSection(0),
DwarfMacroInfoSection(0),
TLSExtraDataSection(0),
CommDirectiveSupportsAlignment(true),
SupportsWeakOmittedEHFrame(true),
IsFunctionEHFrameSymbolPrivate(true) {
}
TargetLoweringObjectFile::~TargetLoweringObjectFile() {