summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-05 23:54:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-05 23:54:18 +0000
commit68c2165fd1402a803bc8949023c0b605a4a32876 (patch)
tree8bfa8bf523355ada4b946b299d5539ad79b61573 /llvm/lib/MC/MCDwarf.cpp
parent2125907ebdc5f2adc733c3b3d1f238c574bf9cc9 (diff)
downloadbcm5719-llvm-68c2165fd1402a803bc8949023c0b605a4a32876.tar.gz
bcm5719-llvm-68c2165fd1402a803bc8949023c0b605a4a32876.zip
git-clang-format an area I am about to change.
llvm-svn: 252241
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp61
1 files changed, 29 insertions, 32 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 814b5872805..379df6534da 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/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<MCCFIInstruction> 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<MCCFIInstruction> Instrs,
+ MCSymbol *BaseLabel);
+ void EmitCFIInstruction(MCObjectStreamer &Streamer,
+ const MCCFIInstruction &Instr);
+};
} // end anonymous namespace
OpenPOWER on IntegriCloud