[PATCH] D55618: [llvm-objcopy] Change Segment::Type from uint64_t to uint32_t

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 12 14:49:51 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348985: [llvm-objcopy] Change Segment::Type from uint64_t to uint32_t (authored by MaskRay, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55618/new/

https://reviews.llvm.org/D55618

Files:
  llvm/trunk/tools/llvm-objcopy/ELF/Object.h


Index: llvm/trunk/tools/llvm-objcopy/ELF/Object.h
===================================================================
--- llvm/trunk/tools/llvm-objcopy/ELF/Object.h
+++ llvm/trunk/tools/llvm-objcopy/ELF/Object.h
@@ -256,16 +256,16 @@
   std::set<const SectionBase *, SectionCompare> Sections;
 
 public:
-  uint64_t Align;
-  uint64_t FileSize;
+  uint32_t Type;
   uint32_t Flags;
-  uint32_t Index;
-  uint64_t MemSize;
   uint64_t Offset;
-  uint64_t PAddr;
-  uint64_t Type;
   uint64_t VAddr;
+  uint64_t PAddr;
+  uint64_t FileSize;
+  uint64_t MemSize;
+  uint64_t Align;
 
+  uint32_t Index;
   uint64_t OriginalOffset;
   Segment *ParentSegment = nullptr;
   ArrayRef<uint8_t> Contents;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55618.177939.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181212/6090ae3f/attachment.bin>


More information about the llvm-commits mailing list