diff options
| author | Alexey Samsonov <samsonov@google.com> | 2014-04-30 00:09:19 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2014-04-30 00:09:19 +0000 |
| commit | 1ea858937c0a2513b1d042c4baf83fd879beebba (patch) | |
| tree | f4951999317d5237208f900283a1ed02d2540ae5 /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | 9902128e2a6450644fb4caf929ff0e3a2d6b0704 (diff) | |
| download | llvm-1ea858937c0a2513b1d042c4baf83fd879beebba.tar.gz llvm-1ea858937c0a2513b1d042c4baf83fd879beebba.tar.bz2 llvm-1ea858937c0a2513b1d042c4baf83fd879beebba.tar.xz | |
[DWARF parser] Cleanup code in DWARFDebugLine.
Streamline parsing and dumping line tables:
Prefer composition to multiple inheritance in DWARFDebugLine::ParsingState.
Get rid of the weird concept of "DumpingState" structure.
was:
DWARFDebugLine::DumpingState state(OS);
DWARFDebugLine::parseStatementTable(..., state);
now:
DWARFDebugLine::LineTable LineTable;
LineTable.parse(...);
LineTable.dump(OS);
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
