summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-02-23 17:49:26 +0000
committerPavel Labath <labath@google.com>2018-02-23 17:49:26 +0000
commitb39fca958d70c9682aaa8b87f58aa88449582cc8 (patch)
tree70fff2b94ecbd7fc0b072b24cc4a234a3eec3186 /clang/lib/CodeGen/CodeGenModule.cpp
parent523c656e254769c455c5519739cf097dcd2260c7 (diff)
downloadbcm5719-llvm-b39fca958d70c9682aaa8b87f58aa88449582cc8.tar.gz
bcm5719-llvm-b39fca958d70c9682aaa8b87f58aa88449582cc8.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud