diff options
author | Shengchen Kan <shengchen.kan@intel.com> | 2020-04-20 19:28:13 -0700 |
---|---|---|
committer | Shengchen Kan <shengchen.kan@intel.com> | 2020-04-20 20:09:20 -0700 |
commit | c031378ce01b8485ba0ef486654bc9393c4ac024 (patch) | |
tree | 414cb5b24bed676647dfafcfa2ef0a7a8751c3ab /llvm/lib/MC/MCObjectStreamer.cpp | |
parent | 8bb059ab6379a7830620b9e240b817c070b35034 (diff) | |
download | llvm-c031378ce01b8485ba0ef486654bc9393c4ac024.zip llvm-c031378ce01b8485ba0ef486654bc9393c4ac024.tar.gz llvm-c031378ce01b8485ba0ef486654bc9393c4ac024.tar.bz2 |
[MC][NFC] Use camelCase style for functions in MCObjectStreamer
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectStreamer.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index 98b4f9b..5bb8e76 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -171,7 +171,7 @@ void MCObjectStreamer::reset() { MCStreamer::reset(); } -void MCObjectStreamer::EmitFrames(MCAsmBackend *MAB) { +void MCObjectStreamer::emitFrames(MCAsmBackend *MAB) { if (!getNumFrameInfos()) return; @@ -332,7 +332,7 @@ void MCObjectStreamer::emitWeakReference(MCSymbol *Alias, report_fatal_error("This file format doesn't support weak aliases."); } -void MCObjectStreamer::ChangeSection(MCSection *Section, +void MCObjectStreamer::changeSection(MCSection *Section, const MCExpr *Subsection) { changeSectionImpl(Section, Subsection); } @@ -414,10 +414,10 @@ void MCObjectStreamer::emitInstructionImpl(const MCInst &Inst, } // Otherwise emit to a separate fragment. - EmitInstToFragment(Inst, STI); + emitInstToFragment(Inst, STI); } -void MCObjectStreamer::EmitInstToFragment(const MCInst &Inst, +void MCObjectStreamer::emitInstToFragment(const MCInst &Inst, const MCSubtargetInfo &STI) { if (getAssembler().getRelaxAll() && getAssembler().isBundlingEnabled()) llvm_unreachable("All instructions should have already been relaxed"); @@ -519,7 +519,7 @@ void MCObjectStreamer::emitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel, insert(new MCDwarfCallFrameFragment(*AddrDelta)); } -void MCObjectStreamer::EmitCVLocDirective(unsigned FunctionId, unsigned FileNo, +void MCObjectStreamer::emitCVLocDirective(unsigned FunctionId, unsigned FileNo, unsigned Line, unsigned Column, bool PrologueEnd, bool IsStmt, StringRef FileName, SMLoc Loc) { @@ -535,25 +535,25 @@ void MCObjectStreamer::EmitCVLocDirective(unsigned FunctionId, unsigned FileNo, IsStmt); } -void MCObjectStreamer::EmitCVLinetableDirective(unsigned FunctionId, +void MCObjectStreamer::emitCVLinetableDirective(unsigned FunctionId, const MCSymbol *Begin, const MCSymbol *End) { getContext().getCVContext().emitLineTableForFunction(*this, FunctionId, Begin, End); - this->MCStreamer::EmitCVLinetableDirective(FunctionId, Begin, End); + this->MCStreamer::emitCVLinetableDirective(FunctionId, Begin, End); } -void MCObjectStreamer::EmitCVInlineLinetableDirective( +void MCObjectStreamer::emitCVInlineLinetableDirective( unsigned PrimaryFunctionId, unsigned SourceFileId, unsigned SourceLineNum, const MCSymbol *FnStartSym, const MCSymbol *FnEndSym) { getContext().getCVContext().emitInlineLineTableForFunction( *this, PrimaryFunctionId, SourceFileId, SourceLineNum, FnStartSym, FnEndSym); - this->MCStreamer::EmitCVInlineLinetableDirective( + this->MCStreamer::emitCVInlineLinetableDirective( PrimaryFunctionId, SourceFileId, SourceLineNum, FnStartSym, FnEndSym); } -void MCObjectStreamer::EmitCVDefRangeDirective( +void MCObjectStreamer::emitCVDefRangeDirective( ArrayRef<std::pair<const MCSymbol *, const MCSymbol *>> Ranges, StringRef FixedSizePortion) { MCFragment *Frag = @@ -561,17 +561,17 @@ void MCObjectStreamer::EmitCVDefRangeDirective( // Attach labels that were pending before we created the defrange fragment to // the beginning of the new fragment. flushPendingLabels(Frag, 0); - this->MCStreamer::EmitCVDefRangeDirective(Ranges, FixedSizePortion); + this->MCStreamer::emitCVDefRangeDirective(Ranges, FixedSizePortion); } -void MCObjectStreamer::EmitCVStringTableDirective() { +void MCObjectStreamer::emitCVStringTableDirective() { getContext().getCVContext().emitStringTable(*this); } -void MCObjectStreamer::EmitCVFileChecksumsDirective() { +void MCObjectStreamer::emitCVFileChecksumsDirective() { getContext().getCVContext().emitFileChecksums(*this); } -void MCObjectStreamer::EmitCVFileChecksumOffsetDirective(unsigned FileNo) { +void MCObjectStreamer::emitCVFileChecksumOffsetDirective(unsigned FileNo) { getContext().getCVContext().emitFileChecksumOffset(*this, FileNo); } @@ -759,7 +759,7 @@ void MCObjectStreamer::emitAddrsigSym(const MCSymbol *Sym) { getAssembler().getWriter().addAddrsigSymbol(Sym); } -void MCObjectStreamer::FinishImpl() { +void MCObjectStreamer::finishImpl() { getContext().RemapDebugPaths(); // If we are generating dwarf for assembly source files dump out the sections. |