[PATCH] D60042: [llvm-objcopy] Add --prefix-alloc-sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 04:24:03 PDT 2019


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp:637
+                const SectionRename &SR = Iter->second;
+                Sec.Name =
+                    (prefix + Config.AllocSectionsPrefix + SR.NewName).str();
----------------
How about `Sec.Name = (prefix + Config.AllocSectionsPrefix + Iter->second.NewName).str();`


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

https://reviews.llvm.org/D60042





More information about the llvm-commits mailing list