[PATCH] D44702: [llvm-objcopy] Keep the information about the object elf type

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 14:24:28 PDT 2018


alexshap added a comment.

@jakehehrlich - to take advantage of this discussion, I'd like to ask what do you think about the best way to expose this information to Section* types,
for example, we can propagate it as an argument to the "initialize" method, or (since in the future some other fields/flags might become necessary) 
change the initialize method to take const Object * instead of SectionsRef (at the moment all the call sites look like Obj.SymbolTable->initialize(Obj.sections()) or Section.initialize(Obj.sections()).


Repository:
  rL LLVM

https://reviews.llvm.org/D44702





More information about the llvm-commits mailing list