This is a mechanical change generated by
perl -i -pe s/SymbolBody/Symbol/g $(git grep -l SymbolBody lld/ELF lld/COFF)
and clang-format-diff.
| Paths 
 |  Differential  D39459  
Rename SymbolBody -> Symbol. ClosedPublic Authored by ruiu on Oct 31 2017, 10:13 AM. 
Details Summary This is a mechanical change generated by perl -i -pe s/SymbolBody/Symbol/g $(git grep -l SymbolBody lld/ELF lld/COFF) and clang-format-diff. 
Diff Detail 
 Event TimelineHerald added subscribers: fedor.sergeev, kbarton, javed.absar and 5 others.  ·  View Herald TranscriptOct 31 2017, 10:13 AM Comment Actions Thanks for including the steps you used to effect the mechanical change! Having maintained long-lived derived branches of open source projects in the past I've found that sort of thing very helpful. I did not review in detail but on a skim found no errors. Comment Actions I reviewed first few files and I think for me naming is confusing. 
 Comment Actions I intentionally avoided renaming variables to make this a mechanical change. I'll rename variables later, but I don't want to do that in this patch. Comment Actions 
 I am sorry but I really do not see why we would want to land this patch as is. Current situation is that SymbolBody is used everywhere and you are trying to rename it I realize that doing such change manually is much more time consuming. And my suggestion is next.  Comment Actions Sorry Geroge, but I completely disagree with you. Renaming variables needs human judgement, and mixing it with a mechanical change is a bad idea. We really should submit this first and then rename variables in follow-up patches. Making a variable renaming change prior to submitting this change doesn't make sense because you can easily get the idea what it would look like. Actually creating a patch just increases the amount of human labor work because I would need to maintain it during review, and it would be painful as it would conflict with a lot of other patches. Please do not overthink about this patch. We really don't need any clever planning at the moment. Comment Actions 
 Ok. Probably I misunderstood the idea of this review. So if I correctly understand it now it was to show how renaming from SymbolBody to Symbol generally looks like in code. This revision is now accepted and ready to land.Nov 3 2017, 12:36 AM Closed by commit rL317370: Rename SymbolBody -> Symbol (authored by ruiu).  ·  Explain WhyNov 3 2017, 2:22 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 121008 lld/COFF/Chunks.h
 lld/COFF/Chunks.cpp
 lld/COFF/Config.h
 lld/COFF/Driver.h
 lld/COFF/Driver.cpp
 lld/COFF/DriverUtils.cpp
 lld/COFF/ICF.cpp
 lld/COFF/InputFiles.h
 lld/COFF/InputFiles.cpp
 lld/COFF/LTO.cpp
 lld/COFF/MapFile.cpp
 lld/COFF/MarkLive.cpp
 lld/COFF/PDB.cpp
 lld/COFF/SymbolTable.h
 lld/COFF/SymbolTable.cpp
 lld/COFF/Symbols.h
 lld/COFF/Symbols.cpp
 lld/COFF/Writer.cpp
 lld/ELF/Arch/AArch64.cpp
 lld/ELF/Arch/AMDGPU.cpp
 lld/ELF/Arch/ARM.cpp
 lld/ELF/Arch/AVR.cpp
 lld/ELF/Arch/Mips.cpp
 lld/ELF/Arch/PPC.cpp
 lld/ELF/Arch/PPC64.cpp
 lld/ELF/Arch/SPARCV9.cpp
 lld/ELF/Arch/X86.cpp
 lld/ELF/Arch/X86_64.cpp
 lld/ELF/Driver.cpp
 lld/ELF/GdbIndex.cpp
 lld/ELF/ICF.cpp
 lld/ELF/InputFiles.h
 lld/ELF/InputFiles.cpp
 lld/ELF/InputSection.h
 lld/ELF/InputSection.cpp
 lld/ELF/LTO.cpp
 lld/ELF/LinkerScript.h
 lld/ELF/LinkerScript.cpp
 lld/ELF/MapFile.cpp
 lld/ELF/MarkLive.cpp
 lld/ELF/OutputSections.h
 lld/ELF/OutputSections.cpp
 lld/ELF/Relocations.h
 lld/ELF/Relocations.cpp
 lld/ELF/SymbolTable.h
 lld/ELF/SymbolTable.cpp
 lld/ELF/Symbols.h
 lld/ELF/Symbols.cpp
 lld/ELF/SyntheticSections.h
 lld/ELF/SyntheticSections.cpp
 lld/ELF/Target.h
 lld/ELF/Target.cpp
 lld/ELF/Thunks.h
 lld/ELF/Thunks.cpp
 lld/ELF/Writer.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think Body is odd name for Symbol.