summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/CFString.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-06-08 11:44:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-06-08 11:44:30 +0000
commit4e36e5bb4c194a474e653e74bb9c465af90511fb (patch)
treea301be48168dbeff055b1b561df73ec64110f6bd /lldb/tools/debugserver/source/MacOSX/CFString.cpp
parent05911246083206723b4e025286bdfa8da6574e76 (diff)
downloadbcm5719-llvm-4e36e5bb4c194a474e653e74bb9c465af90511fb.tar.gz
bcm5719-llvm-4e36e5bb4c194a474e653e74bb9c465af90511fb.zip
Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart
realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. llvm-svn: 105605
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/CFString.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud