teak-llvm/lldb/packages/Python/lldbsuite
Pavel Labath b39fca958d Replace HashStringUsingDJB with llvm::djbHash
Summary:
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.

I also create a test that verifies we are able to lookup names with
unicode characters, as a bug in the llvm compiler (it accidentally used
a different hash function) meant this was not working until recently.

This also removes the unused ExportTable class.

Reviewers: aprantl, davide

Subscribers: JDevlieghere, lldb-commits

Differential Revision: https://reviews.llvm.org/D43596

llvm-svn: 325927
2018-02-23 17:49:26 +00:00
..
pre_kill_hook added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
support *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test Replace HashStringUsingDJB with llvm::djbHash 2018-02-23 17:49:26 +00:00
test_event XUnit Formatter: Handle UTF-8 decode errors on invalid XML 2018-01-30 21:16:42 +00:00
__init__.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00