[PATCH] D18047: [ELF] - Do not call doInitSymbols for all ELFTs

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 09:25:01 PST 2016


ruiu accepted this revision.
ruiu added a comment.

LGTM


================
Comment at: ELF/Symbols.h:44
@@ -43,4 +43,3 @@
 // Initializes global objects defined in this file.
-// Called at the beginning of main().
-void initSymbols();
+template <class ELFT> void doInitSymbols();
 
----------------
Rename doInitSymbols -> initSymbols. ("do" is a prefix I often add to file-local helper functions.)


http://reviews.llvm.org/D18047





More information about the llvm-commits mailing list