llvm-project/lldb
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
..
cmake [lldb] Set component when invoking add_llvm_install_targets 2017-12-13 01:14:27 +00:00
docs Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
examples Fixed up to use a class for the commands, renamed the commands and added a way to just dump the compile unit full paths and optionally their support files with the new "dump-files"command. 2017-11-16 17:14:48 +00:00
include/lldb Replace HashStringUsingDJB with llvm::djbHash 2018-02-23 17:49:26 +00:00
lit remove FreeBSD xfail from lit TestCallStdStringFunction 2018-02-23 02:50:07 +00:00
lldb.xcodeproj Remove the pubnames support from the Xcode project. 2018-02-12 20:25:37 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite Replace HashStringUsingDJB with llvm::djbHash 2018-02-23 17:49:26 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Add SBDebugger::GetBuildConfiguration and use it to skip an XML test 2018-02-19 15:06:28 +00:00
source Replace HashStringUsingDJB with llvm::djbHash 2018-02-23 17:49:26 +00:00
test [testsuite] Run lit tests as part of `check-lldb`. 2018-02-21 21:10:44 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Add DEBUGSERVER_PATH to the cache so it'll be available for tests. 2018-02-17 23:06:15 +00:00
unittests llgs-tests: Fix r325511 for debugserver 2018-02-21 17:38:38 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www [docs] Update docs for cmake options LLDB_TEST_C_COMPILER and LLDB_TEST_CXX_COMPILER 2018-02-08 05:11:17 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00