[llvm] 0fd383e - Fix typo and check commit access.

Sameer Arora via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 14:50:06 PDT 2020


Author: Sameer Arora
Date: 2020-07-02T14:49:47-07:00
New Revision: 0fd383e6566482cde8027f5db66ceca86823b771

URL: https://github.com/llvm/llvm-project/commit/0fd383e6566482cde8027f5db66ceca86823b771
DIFF: https://github.com/llvm/llvm-project/commit/0fd383e6566482cde8027f5db66ceca86823b771.diff

LOG: Fix typo and check commit access.

Added: 
    

Modified: 
    llvm/tools/llvm-objcopy/ELF/Object.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-objcopy/ELF/Object.cpp b/llvm/tools/llvm-objcopy/ELF/Object.cpp
index 7c1a3873dc56..944bfdf62fad 100644
--- a/llvm/tools/llvm-objcopy/ELF/Object.cpp
+++ b/llvm/tools/llvm-objcopy/ELF/Object.cpp
@@ -745,7 +745,7 @@ void SymbolTableSection::prepareForLayout() {
   // Reserve proper amount of space in section index table, so we can
   // layout sections correctly. We will fill the table with correct
   // indexes later in fillShdnxTable.
-  if (SectionIndexTable)  
+  if (SectionIndexTable)
     SectionIndexTable->reserve(Symbols.size());
 
   // Add all of our strings to SymbolNames so that SymbolNames has the right
@@ -1260,7 +1260,7 @@ std::unique_ptr<Object> IHexELFBuilder::build() {
 template <class ELFT> void ELFBuilder<ELFT>::setParentSegment(Segment &Child) {
   for (Segment &Parent : Obj.segments()) {
     // Every segment will overlap with itself but we don't want a segment to
-    // be it's own parent so we avoid that situation.
+    // be its own parent so we avoid that situation.
     if (&Child != &Parent && segmentOverlapsSegment(Child, Parent)) {
       // We want a canonical "most parental" segment but this requires
       // inspecting the ParentSegment.


        


More information about the llvm-commits mailing list