[PATCH] D48647: [dsymutil] Detangle DwarfLinker and move abstractions in their own implementation (NFC)

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 07:31:24 PDT 2018


JDevlieghere created this revision.
JDevlieghere added a reviewer: friss.
Herald added subscribers: mgrang, aprantl, mgorny.

This patch splits off some abstractions used by the dwarf linker in dsymutil and moves them into their own header and implementation files. This halves the number of LOC in DwarfLinker.cpp and makes it a lot easier to see what's going on where.


Repository:
  rL LLVM

https://reviews.llvm.org/D48647

Files:
  llvm/tools/dsymutil/CMakeLists.txt
  llvm/tools/dsymutil/CompileUnit.cpp
  llvm/tools/dsymutil/CompileUnit.h
  llvm/tools/dsymutil/DeclContext.cpp
  llvm/tools/dsymutil/DeclContext.h
  llvm/tools/dsymutil/DwarfLinker.cpp
  llvm/tools/dsymutil/DwarfLinker.h
  llvm/tools/dsymutil/DwarfStreamer.cpp
  llvm/tools/dsymutil/DwarfStreamer.h
  llvm/tools/dsymutil/LinkUtils.h
  llvm/tools/dsymutil/MachOUtils.cpp
  llvm/tools/dsymutil/NonRelocatableStringpool.h
  llvm/tools/dsymutil/dsymutil.cpp
  llvm/tools/dsymutil/dsymutil.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48647.153085.patch
Type: text/x-patch
Size: 167789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/44a470fe/attachment-0001.bin>


More information about the llvm-commits mailing list