[PATCH] D92560: [lib/Object, tools] - Make ELFObjectFile::getELFFile return reference.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 02:54:59 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a project: LLVM.
grimar requested review of this revision.

We always have an object, so we don't have to return a pointer.


https://reviews.llvm.org/D92560

Files:
  llvm/include/llvm/Object/ELFObjectFile.h
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
  llvm/lib/InterfaceStub/ELFObjHandler.cpp
  llvm/lib/XRay/InstrumentationMap.cpp
  llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
  llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  llvm/tools/llvm-objcopy/ELF/Object.h
  llvm/tools/llvm-objdump/ELFDump.cpp
  llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
  llvm/tools/llvm-readobj/ELFDumper.cpp
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92560.309202.patch
Type: text/x-patch
Size: 18708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/98634fd7/attachment.bin>


More information about the llvm-commits mailing list