diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-25 05:58:04 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-25 05:58:04 +0000 |
commit | cb708b265def6cbe9111b4b22060d1e4b6045701 (patch) | |
tree | 19ba59ba64f5860ec9a058fdb157dbd9218387ce /lldb/packages/Python/lldbsuite/test/python_api | |
parent | be8a57f9bfb9620907f4679314fab54ff006eb05 (diff) | |
download | bcm5719-llvm-cb708b265def6cbe9111b4b22060d1e4b6045701.tar.gz bcm5719-llvm-cb708b265def6cbe9111b4b22060d1e4b6045701.zip |
Query the StringMap only once when creating MDString (NFC)
Summary:
Loading IR with debug info improves MDString::get() from 19ms to 10ms.
This is a rework of D16597 with adding an "emplace" method on the StringMap
to avoid requiring the MDString move ctor to be public.
Reviewers: dexonsmith
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D17920
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 264386
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions