diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-24 16:40:47 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-24 16:40:47 +0000 |
| commit | f73bcf4020ff2f20e4ab50ed56258caaa590c5d6 (patch) | |
| tree | 526cb98bdde33ade0e13308718bc956c30b8d6ce /llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h | |
| parent | 03b7a1cf93b215ce99cd4eadfba3b08f3242a4db (diff) | |
| download | bcm5719-llvm-f73bcf4020ff2f20e4ab50ed56258caaa590c5d6.tar.gz bcm5719-llvm-f73bcf4020ff2f20e4ab50ed56258caaa590c5d6.zip | |
AsmPrinter: Make DIEString small
Expose the `DwarfStringPool` entry in a header, and store a pointer to
it directly in `DIEString`. Instead of choosing at creation time how to
emit it, use the `dwarf::Form` to determine that at emission time.
Besides avoiding the other `DIEValue`, this shaves two pointers off of
`DIEString`; the data is now a single pointer. This is a nice cleanup
on its own -- and drops memory usage from 861 MB down to 853 MB, around
0.9% -- but it's also preparation for passing `DIEValue`s by value.
(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)
llvm-svn: 238117
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h')
0 files changed, 0 insertions, 0 deletions

