reflect comment to the official reference

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Shankar Easwaran 2013-03-25 19:50:40 +00:00
parent 8b23cd0ba1
commit 8b2824a1b2

View File

@ -2706,7 +2706,7 @@ static inline error_code GetELFSymbolVersion(const ObjectFile *Obj,
/// This function returns the hash value for a symbol in the .dynsym section
/// Name of the API remains consistent as specified in the libelf
/// REF : http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx
/// REF : http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#hash
static inline unsigned elf_hash(StringRef &symbolName) {
unsigned h = 0, g;
for (unsigned i = 0; i < symbolName.size(); i++) {