[PATCH] D38241: [ELF] - Detemplate of HashTableSection<ELFT>
    Rui Ueyama via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 25 09:54:01 PDT 2017
    
    
  
ruiu added inline comments.
================
Comment at: ELF/SyntheticSections.cpp:1643
     Chains[I] = Buckets[Hash];
-    Buckets[Hash] = I;
+    write32(&Buckets[Hash], I, Config->Endianness);
   }
----------------
A more natural way of writing the same expression is `Buckets + Hash`
https://reviews.llvm.org/D38241
    
    
More information about the llvm-commits
mailing list