[Lldb-commits] [PATCH] D43596: Replace HashStringUsingDJB with llvm::djbHash
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 21 15:25:25 PST 2018
labath created this revision.
labath added reviewers: aprantl, davide.
Herald added a subscriber: JDevlieghere.
The llvm function is equivalent to this one. Where possible I tried to
replace const char* with llvm::StringRef to avoid extra strlen
computations. In most places, I was able to track the c string back to
the ConstString it was created from.
This also removes the unused ExportTable class.
https://reviews.llvm.org/D43596
Files:
include/lldb/Core/MappedHash.h
source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
source/Target/ObjCLanguageRuntime.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43596.135339.patch
Type: text/x-patch
Size: 20817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180221/a64560e5/attachment-0001.bin>
More information about the lldb-commits
mailing list