From 3f2ea825bdf8cbe002ac542a5bdd775bd30470c9 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 23 Jun 2011 00:09:43 +0000 Subject: 80-column violations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133668 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MachObjectWriter.cpp | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'lib/MC/MachObjectWriter.cpp') diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp index 1819c40..0d80514 100644 --- a/lib/MC/MachObjectWriter.cpp +++ b/lib/MC/MachObjectWriter.cpp @@ -490,7 +490,8 @@ void MachObjectWriter::WriteDysymtabLoadCommand(uint32_t FirstLocalSymbol, assert(OS.tell() - Start == macho::DysymtabLoadCommandSize); } -void MachObjectWriter::WriteNlist(MachSymbolData &MSD, const MCAsmLayout &Layout) { +void MachObjectWriter::WriteNlist(MachSymbolData &MSD, + const MCAsmLayout &Layout) { MCSymbolData &Data = *MSD.SymbolData; const MCSymbol &Symbol = Data.getSymbol(); uint8_t Type = 0; @@ -1058,7 +1059,8 @@ void MachObjectWriter::RecordTLVPRelocation(const MCAssembler &Asm, Relocations[Fragment->getParent()].push_back(MRE); } -bool MachObjectWriter::getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, +bool MachObjectWriter::getARMFixupKindMachOInfo(unsigned Kind, + unsigned &RelocType, unsigned &Log2Size) { RelocType = unsigned(macho::RIT_Vanilla); Log2Size = ~0U; @@ -1379,10 +1381,11 @@ void MachObjectWriter::BindIndirectSymbols(MCAssembler &Asm) { /// \param StringTable [out] - The string table data. /// \param StringIndexMap [out] - Map from symbol names to offsets in the /// string table. -void MachObjectWriter::ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable, - std::vector &LocalSymbolData, - std::vector &ExternalSymbolData, - std::vector &UndefinedSymbolData) { +void MachObjectWriter:: +ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable, + std::vector &LocalSymbolData, + std::vector &ExternalSymbolData, + std::vector &UndefinedSymbolData) { // Build section lookup table. DenseMap SectionIndexMap; unsigned Index = 1; @@ -1505,7 +1508,8 @@ void MachObjectWriter::computeSectionAddresses(const MCAssembler &Asm, } } -void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLayout &Layout) { +void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm, + const MCAsmLayout &Layout) { computeSectionAddresses(Asm, Layout); // Create symbol data for any indirect symbols. @@ -1516,11 +1520,12 @@ void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLay UndefinedSymbolData); } -bool MachObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm, - const MCSymbolData &DataA, - const MCFragment &FB, - bool InSet, - bool IsPCRel) const { +bool MachObjectWriter:: +IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm, + const MCSymbolData &DataA, + const MCFragment &FB, + bool InSet, + bool IsPCRel) const { if (InSet) return true; -- cgit v1.1