[ELF] Fix DenseMapInfo for StringRef

llvm-svn: 232251
This commit is contained in:
Shankar Easwaran 2015-03-14 05:26:55 +00:00
parent 9f9f2ddb86
commit c1e146e024
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ private:
struct StringRefMappingInfo { struct StringRefMappingInfo {
static StringRef getEmptyKey() { return StringRef(); } static StringRef getEmptyKey() { return StringRef(); }
static StringRef getTombstoneKey() { return StringRef(" ", 0); } static StringRef getTombstoneKey() { return StringRef(" ", 1); }
static unsigned getHashValue(StringRef const val) { static unsigned getHashValue(StringRef const val) {
return llvm::HashString(val); return llvm::HashString(val);
} }