[PATCH] D14084: [ELF2] Move sorting from symbol table to the GNU hash section.
    Rui Ueyama via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 27 12:07:53 PDT 2015
    
    
  
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM with a nit. Nice cleanup!
================
Comment at: ELF/OutputSections.cpp:338
@@ -339,1 +337,3 @@
+  unsigned NumHashed = std::count_if(A.begin(), A.end(), includeInGnuHashTable);
+
   NBuckets = calcNBuckets(NumHashed);
----------------
Remove this blank line.
http://reviews.llvm.org/D14084
    
    
More information about the llvm-commits
mailing list