[PATCH] D49576: [llvm-objcopy] Add basic support for --rename-section

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 10:33:49 PDT 2018


alexshap accepted this revision.
alexshap added a comment.
This revision is now accepted and ready to land.

to me LG, but I'd wait for Jake as well



================
Comment at: tools/llvm-objcopy/Object.cpp:1088
+    const auto Iter = SectionsToRename.find(Sec->Name);
+    if (Iter != SectionsToRename.end()) {
+      Sec->Name = Iter->second;
----------------
nit (braces)


Repository:
  rL LLVM

https://reviews.llvm.org/D49576





More information about the llvm-commits mailing list