[PATCH] D148667: [BOLT] Move phdr typedef to cpp file

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 12:52:23 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9c92b023da39: [BOLT][NFC] Move phdr typedef to cpp file (authored by urnathan).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148667

Files:
  bolt/include/bolt/Rewrite/RewriteInstance.h
  bolt/lib/Rewrite/RewriteInstance.cpp


Index: bolt/lib/Rewrite/RewriteInstance.cpp
===================================================================
--- bolt/lib/Rewrite/RewriteInstance.cpp
+++ bolt/lib/Rewrite/RewriteInstance.cpp
@@ -305,6 +305,8 @@
 } // namespace bolt
 } // namespace llvm
 
+using ELF64LEPhdrTy = ELF64LEFile::Elf_Phdr;
+
 namespace {
 
 bool refersToReorderedSection(ErrorOr<BinarySection &> Section) {
Index: bolt/include/bolt/Rewrite/RewriteInstance.h
===================================================================
--- bolt/include/bolt/Rewrite/RewriteInstance.h
+++ bolt/include/bolt/Rewrite/RewriteInstance.h
@@ -89,8 +89,6 @@
   }
 
 private:
-  using ELF64LEPhdrTy = object::ELF64LEFile::Elf_Phdr;
-
   /// Populate array of binary functions and other objects of interest
   /// from meta data in the file.
   void discoverFileObjects();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148667.515049.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/5039ed29/attachment.bin>


More information about the llvm-commits mailing list