summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/breakpoint
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-25 05:57:57 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-25 05:57:57 +0000
commitbe8a57f9bfb9620907f4679314fab54ff006eb05 (patch)
tree7c42bc5a7267a5154d1ea31390bc51605e5ce4a3 /lldb/packages/Python/lldbsuite/test/python_api/breakpoint
parent05eca80cb8c9d22e5faa24c1758cf82fcd801e23 (diff)
downloadbcm5719-llvm-be8a57f9bfb9620907f4679314fab54ff006eb05.tar.gz
bcm5719-llvm-be8a57f9bfb9620907f4679314fab54ff006eb05.zip
Adjust initial size in StringMap constructor to guarantee no grow()
Summary: StringMap ctor accepts an initialize size, but expect it to be rounded to the next power of 2. The ctor can handle that directly instead of expecting clients to round it. Also, since the map will resize itself when 75% full, take this into account an initialize a larger initial size to avoid any growth. Reviewers: dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18344 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 264385
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud