Add comments.

llvm-svn: 281388
This commit is contained in:
Rui Ueyama 2016-09-13 20:41:06 +00:00
parent a8b668432d
commit fbde710497
1 changed files with 3 additions and 0 deletions

View File

@ -599,6 +599,9 @@ static void setVersionId(SymbolBody *Body, StringRef VersionName,
Sym->VersionId = Version;
}
// Returns a map from demangled symbols to symbol objects.
// The relationship is 1:N instead of 1:1 because with the symbol
// versioning, more than one symbol may have the same name.
template <class ELFT>
std::map<std::string, std::vector<SymbolBody *>>
SymbolTable<ELFT>::getDemangledSyms() {