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 | 110d595d48033ab2c7dfba0efe833ccc4faf7d6f (patch) | |
tree | faecc4bff99f8a346fa51a88dea5439bce378292 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | fb693085683836d52d7edec3de7a13dd77926ea7 (diff) | |
download | bcm5719-llvm-110d595d48033ab2c7dfba0efe833ccc4faf7d6f.tar.gz bcm5719-llvm-110d595d48033ab2c7dfba0efe833ccc4faf7d6f.zip |
[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.
llvm-svn: 207599
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions