This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Less allocations in command line arguments map
Needs ReviewPublic

Authored by kevgs on May 4 2016, 2:16 PM.

Diff Detail

Event Timeline

kevgs updated this revision to Diff 56199.May 4 2016, 2:16 PM
kevgs retitled this revision from to [NFC] Prealloc command line arguments map.
kevgs updated this object.
kevgs added reviewers: chandlerc, dblaikie.
kevgs added a subscriber: llvm-commits.
kevgs updated this revision to Diff 56304.May 5 2016, 9:45 AM
kevgs retitled this revision from [NFC] Prealloc command line arguments map to [NFC] Less allocations in command line arguments map.
kevgs updated this object.
kevgs added a reviewer: rafael.

Also use BumpPtrAllocator to reduce allocation count.

kevgs updated this revision to Diff 56402.May 6 2016, 4:59 AM

Tests are fixed.

espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 10:50 AM