This is an archive of the discontinued LLVM Phabricator instance.

02/06: Finish renaming CompileUnit->Unit
ClosedPublic

Authored by jankratochvil on May 3 2019, 6:20 AM.

Details

Summary

D42892 changed a lot of code to use superclass DWARFUnit instead of its subclass DWARFCompileUnit.

Finish this change more thoroughly for any *CompileUnit*->*Unit* names. Later patch will introduce DWARFTypeUnit which needs to be sometimes different from DWARFCompileUnit and it would be confusing without this renaming.

The whole patchset available for testing as: git clone -b debugtypes git://git.jankratochvil.net/lldb

Diff Detail

Repository
rL LLVM

Event Timeline

jankratochvil created this revision.May 3 2019, 6:20 AM
labath accepted this revision.May 3 2019, 7:13 AM
labath added inline comments.
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
1767 ↗(On Diff #197983)

did you clang-format the patch? It looks like this could fit on a single line now..

This revision is now accepted and ready to land.May 3 2019, 7:13 AM
JDevlieghere accepted this revision.May 9 2019, 4:43 PM

LGTM with Pavel's comment addressed.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2019, 10:14 AM

Thanks for the review, I have pushed it ahead of the rest of the series as it was a bit annoying to keep it updating off-trunk. And then the renaming is a correct cleanup anyway.