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 | 36c38b81f0938974c0b1b5fde0b838d51466a94f (patch) | |
tree | be7b92b98ed00cbe140d417f4b8a17af28a604ac /lib/Target | |
parent | e05e55d8390d7758084a3db58c531c0c11e903e4 (diff) | |
download | external_llvm-36c38b81f0938974c0b1b5fde0b838d51466a94f.zip external_llvm-36c38b81f0938974c0b1b5fde0b838d51466a94f.tar.gz external_llvm-36c38b81f0938974c0b1b5fde0b838d51466a94f.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions