Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit edd372a

Browse files
committed
Fix up a few formatting issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211307 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d308c35 commit edd372a

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

lib/MC/MCDwarf.cpp

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@ static void EmitGenDwarfAranges(MCStreamer *MCOS,
610610
// Now emit the table of pairs of PointerSize'ed values for the section
611611
// addresses and sizes.
612612
for (const auto &sec : Sections) {
613-
MCSymbol* StartSymbol = sec.second.first;
614-
MCSymbol* EndSymbol = sec.second.second;
613+
MCSymbol *StartSymbol = sec.second.first;
614+
MCSymbol *EndSymbol = sec.second.second;
615615
assert(StartSymbol && "StartSymbol must not be NULL");
616616
assert(EndSymbol && "EndSymbol must not be NULL");
617617

@@ -697,8 +697,8 @@ static void EmitGenDwarfInfo(MCStreamer *MCOS,
697697
const auto TextSection = Sections.begin();
698698
assert(TextSection != Sections.end() && "No text section found");
699699

700-
MCSymbol* StartSymbol = TextSection->second.first;
701-
MCSymbol* EndSymbol = TextSection->second.second;
700+
MCSymbol *StartSymbol = TextSection->second.first;
701+
MCSymbol *EndSymbol = TextSection->second.second;
702702
assert(StartSymbol && "StartSymbol must not be NULL");
703703
assert(EndSymbol && "EndSymbol must not be NULL");
704704

@@ -809,8 +809,8 @@ static void EmitGenDwarfRanges(MCStreamer *MCOS) {
809809

810810
for (const auto sec : Sections) {
811811

812-
MCSymbol* StartSymbol = sec.second.first;
813-
MCSymbol* EndSymbol = sec.second.second;
812+
MCSymbol *StartSymbol = sec.second.first;
813+
MCSymbol *EndSymbol = sec.second.second;
814814
assert(StartSymbol && "StartSymbol must not be NULL");
815815
assert(EndSymbol && "EndSymbol must not be NULL");
816816

@@ -1539,13 +1539,12 @@ namespace {
15391539
return CIEKey(nullptr, -1, 0, false, false);
15401540
}
15411541

1542-
CIEKey(const MCSymbol* Personality_, unsigned PersonalityEncoding_,
1543-
unsigned LsdaEncoding_, bool IsSignalFrame_, bool IsSimple_) :
1544-
Personality(Personality_), PersonalityEncoding(PersonalityEncoding_),
1545-
LsdaEncoding(LsdaEncoding_), IsSignalFrame(IsSignalFrame_),
1546-
IsSimple(IsSimple_) {
1547-
}
1548-
const MCSymbol* Personality;
1542+
CIEKey(const MCSymbol *Personality_, unsigned PersonalityEncoding_,
1543+
unsigned LsdaEncoding_, bool IsSignalFrame_, bool IsSimple_)
1544+
: Personality(Personality_), PersonalityEncoding(PersonalityEncoding_),
1545+
LsdaEncoding(LsdaEncoding_), IsSignalFrame(IsSignalFrame_),
1546+
IsSimple(IsSimple_) {}
1547+
const MCSymbol *Personality;
15491548
unsigned PersonalityEncoding;
15501549
unsigned LsdaEncoding;
15511550
bool IsSignalFrame;
@@ -1620,7 +1619,7 @@ void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB,
16201619
Emitter.setSectionStart(SectionStart);
16211620

16221621
MCSymbol *FDEEnd = nullptr;
1623-
DenseMap<CIEKey, const MCSymbol*> CIEStarts;
1622+
DenseMap<CIEKey, const MCSymbol *> CIEStarts;
16241623

16251624
const MCSymbol *DummyDebugKey = nullptr;
16261625
NeedsEHFrameSection = !MOFI->getSupportsCompactUnwindWithoutEHFrame();

0 commit comments

Comments
 (0)