aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/ELFObjectWriter.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-04-30Replace unreachable code with llvm_unreachable.Rafael Espindola1-1/+1
2015-04-30Don't create a MCSectionData when we don't have to.Rafael Espindola1-11/+7
2015-04-30Avoid an extra loop over the sections.Rafael Espindola1-7/+1
2015-04-30Make the section table a member of ELFObjectWriter.Rafael Espindola1-52/+43
2015-04-30Nothing inherits from this, drop the protected:Rafael Espindola1-2/+0
2015-04-30Write sections mostly in one pass.Rafael Espindola1-143/+93
2015-04-30Silencing an "enumeral and non-enumeral type in conditional expression" warni...Aaron Ballman1-1/+1
2015-04-30Store relocations in a map from MCSectionELF.Rafael Espindola1-25/+21
2015-04-30Write relocations directly to the output stream. NFC.Rafael Espindola1-46/+29
2015-04-29Inline FragmentWriter into the only user.Rafael Espindola1-18/+4
2015-04-29Write the symbol table directly to the output file.Rafael Espindola1-79/+85
2015-04-29Use pwrite to write the number of sections.Rafael Espindola1-10/+15
2015-04-29Write the string table directly to the output file.Rafael Espindola1-14/+22
2015-04-29Write the section header string table directly to the output stream.Rafael Espindola1-30/+38
2015-04-29Avoid a few const_cast.Rafael Espindola1-13/+12
2015-04-28Map directly from signature symbol to group index. NFC.Rafael Espindola1-10/+13
2015-04-28Remove redundant temporary std::vector.Rafael Espindola1-25/+7
2015-04-28Avoid one more walk over all sections. NFC.Rafael Espindola1-9/+3
2015-04-28Use a range loop. NFC.Rafael Espindola1-3/+2
2015-04-28Avoid an extra walk over the sections just to assign sections to groups.Rafael Espindola1-30/+41
2015-04-28Remove the GroupMapTy DenseMap. NFC.Rafael Espindola1-18/+10
2015-04-28Use range loops. NFC.Rafael Espindola1-7/+3
2015-04-28Avoid adding to SectionIndexMap sections that we never lookup. NFC.Rafael Espindola1-33/+28
2015-04-28Use a range loop. NFC.Rafael Espindola1-3/+2
2015-04-28Use a std::vector to record the offsets of the sections. NFC.Rafael Espindola1-10/+8
2015-04-28Avoid an extra loop for computing the section size. NFC.Rafael Espindola1-29/+13
2015-04-20Look past locals in comdats.Rafael Espindola1-9/+8
2015-04-17Compute A-B when A or B is weak.Rafael Espindola1-8/+9
2015-04-17Compute A-B if both A and B are in the same comdat section.Rafael Espindola1-18/+23
2015-04-17[mc] Clean up emission of byte sequencesBenjamin Kramer1-4/+1
2015-04-17Don't walk aliases from global to local symbols in comdats.Rafael Espindola1-1/+30
2015-04-17Write relocation sections contiguously.Rafael Espindola1-1/+8
2015-04-15Write section and section table entries in the same order.Rafael Espindola1-50/+15
2015-04-14Use the ability to pwrite to simplify the ELF writer.Rafael Espindola1-44/+31
2015-04-14Use raw_pwrite_stream in the object writer/streamer.Rafael Espindola1-2/+2
2015-04-14Re-enable target-specific relocation table sorting and use it for MipsPetar Jovanovic1-31/+3
2015-04-11Use 'override/final' instead of 'virtual' for overridden methodsAlexander Kornienko1-1/+1
2015-04-08Remove unused variable.Rafael Espindola1-2/+0
2015-04-08Write the section header in the end.Rafael Espindola1-27/+4
2015-04-08ELFObjectWriter.cpp: Prune obsolete \param since r234342. [-Wdocumentation]NAKAMURA Takumi1-1/+0
2015-04-07Delete commented code. Don't repeat name in comment.Rafael Espindola1-7/+1
2015-04-07Don't subtract the header size just to add it back.Rafael Espindola1-5/+4
2015-04-07Remove intermediate variables.Rafael Espindola1-7/+1
2015-04-07Remove unused argument.Rafael Espindola1-9/+6
2015-04-06Be consistent when deciding if a relocation is needed.Rafael Espindola1-9/+8
2015-04-06Store the sh_link of ARM_EXIDX directly in MCSectionELF.Rafael Espindola1-13/+2
2015-04-06Simplify this function a bit. NFC.Rafael Espindola1-20/+4
2015-04-06Simplify mapping from relocation sections to relocated sections.Rafael Espindola1-39/+21
2015-03-30Special case the creation of relocation sections.Rafael Espindola1-6/+3
2015-03-25Fix fixup evaluation when deciding what to relocate with.Rafael Espindola1-2/+8