ELFFile<ELFT> has many methods that take pointers,
though they assume that arguments are never null and
hence could take references instead.
This patch performs such clean-up.
Paths
| Differential D87385
[lib/Object] - Refine interface of ELFFile<ELFT>. NFCI. ClosedPublic Authored by grimar on Sep 9 2020, 8:20 AM.
Details Summary ELFFile<ELFT> has many methods that take pointers, This patch performs such clean-up.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 15 2020, 12:36 AM Closed by commit rG4845531fa88c: [lib/Object] - Refine interface of ELFFile<ELFT>. NFCI. (authored by grimar). · Explain WhySep 15 2020, 1:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 291830 lld/ELF/Arch/AMDGPU.cpp
lld/ELF/Arch/Hexagon.cpp
lld/ELF/Arch/Mips.cpp
lld/ELF/Arch/MipsArchTree.cpp
lld/ELF/Arch/PPC64.cpp
lld/ELF/Arch/RISCV.cpp
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputSection.cpp
lld/ELF/Relocations.cpp
llvm/include/llvm/Object/ELF.h
llvm/include/llvm/Object/ELFObjectFile.h
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
llvm/lib/InterfaceStub/ELFObjHandler.cpp
llvm/lib/Object/ELF.cpp
llvm/tools/llvm-objcopy/ELF/Object.cpp
llvm/tools/llvm-objdump/ELFDump.cpp
llvm/tools/llvm-readobj/ARMEHABIPrinter.h
llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
llvm/tools/llvm-readobj/ELFDumper.cpp
llvm/tools/obj2yaml/elf2yaml.cpp
|