diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-13 20:06:17 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-13 20:06:17 +0000 |
commit | 330970d6588f9d8a0e7fc0d55c92dd3d84ae22a6 (patch) | |
tree | 3f61d07d28081829fce018cab8dd863337fc8809 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp | |
parent | 7f13de2d6f41f0011c867b0e9f38511c7fb99d3c (diff) | |
download | llvm-330970d6588f9d8a0e7fc0d55c92dd3d84ae22a6.zip llvm-330970d6588f9d8a0e7fc0d55c92dd3d84ae22a6.tar.gz llvm-330970d6588f9d8a0e7fc0d55c92dd3d84ae22a6.tar.bz2 |
Reduce malloc traffic in DwarfAccelTable
- Don't copy offsets into HashData, the underlying vector won't change once the table is finalized.
- Allocate HashData and HashDataContents in a BumpPtrAllocator.
- Allocate string map entries in the same allocator.
- Random cleanups.
llvm-svn: 154694
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp')
0 files changed, 0 insertions, 0 deletions