summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-04-14 19:17:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-04-14 19:17:16 +0000
commitc9157d35d9e4a82c92ed7942e8be58b67cb8da2b (patch)
tree468eda33cf30457fbaedcdfa4ea43bfbedf18ba8 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent000c5af3e65bcd32305d51a32ccdbe6fdf7d3fdf (diff)
downloadbcm5719-llvm-c9157d35d9e4a82c92ed7942e8be58b67cb8da2b.tar.gz
bcm5719-llvm-c9157d35d9e4a82c92ed7942e8be58b67cb8da2b.zip
Hash symbol names only once per global SymbolBody.
The DenseMap doesn't store hash results. This means that when it is resized it has to recompute them. This patch is a small hack that wraps the StringRef in a struct that remembers the hash value. That way we can be sure it is only hashed once. llvm-svn: 266357
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud