From: Rafael Espindola Date: Thu, 5 Nov 2015 23:54:18 +0000 (+0000) Subject: git-clang-format an area I am about to change. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=618c595954e1e7109c8822fc2ed00ef1a9455def;p=oota-llvm.git git-clang-format an area I am about to change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252241 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 814b5872805..379df6534da 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -995,38 +995,35 @@ static void EmitPersonality(MCStreamer &streamer, const MCSymbol &symbol, } namespace { - class FrameEmitterImpl { - int CFAOffset; - int InitialCFAOffset; - bool IsEH; - const MCSymbol *SectionStart; - public: - FrameEmitterImpl(bool isEH) - : CFAOffset(0), InitialCFAOffset(0), IsEH(isEH), SectionStart(nullptr) { - } - - void setSectionStart(const MCSymbol *Label) { SectionStart = Label; } - - /// Emit the unwind information in a compact way. - void EmitCompactUnwind(MCObjectStreamer &streamer, - const MCDwarfFrameInfo &frame); - - const MCSymbol &EmitCIE(MCObjectStreamer &streamer, - const MCSymbol *personality, - unsigned personalityEncoding, - const MCSymbol *lsda, - bool IsSignalFrame, - unsigned lsdaEncoding, - bool IsSimple); - MCSymbol *EmitFDE(MCObjectStreamer &streamer, - const MCSymbol &cieStart, - const MCDwarfFrameInfo &frame); - void EmitCFIInstructions(MCObjectStreamer &streamer, - ArrayRef Instrs, - MCSymbol *BaseLabel); - void EmitCFIInstruction(MCObjectStreamer &Streamer, - const MCCFIInstruction &Instr); - }; +class FrameEmitterImpl { + int CFAOffset; + int InitialCFAOffset; + bool IsEH; + const MCSymbol *SectionStart; + +public: + FrameEmitterImpl(bool isEH) + : CFAOffset(0), InitialCFAOffset(0), IsEH(isEH), SectionStart(nullptr) {} + + void setSectionStart(const MCSymbol *Label) { SectionStart = Label; } + + /// Emit the unwind information in a compact way. + void EmitCompactUnwind(MCObjectStreamer &streamer, + const MCDwarfFrameInfo &frame); + + const MCSymbol &EmitCIE(MCObjectStreamer &streamer, + const MCSymbol *personality, + unsigned personalityEncoding, const MCSymbol *lsda, + bool IsSignalFrame, unsigned lsdaEncoding, + bool IsSimple); + MCSymbol *EmitFDE(MCObjectStreamer &streamer, const MCSymbol &cieStart, + const MCDwarfFrameInfo &frame); + void EmitCFIInstructions(MCObjectStreamer &streamer, + ArrayRef Instrs, + MCSymbol *BaseLabel); + void EmitCFIInstruction(MCObjectStreamer &Streamer, + const MCCFIInstruction &Instr); +}; } // end anonymous namespace