OSDN Git Service

[dsymutil] Move abstractions into separate files (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 Jun 2018 16:13:40 +0000 (16:13 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 Jun 2018 16:13:40 +0000 (16:13 +0000)
commit928fea20d3054750154c8358a69e40621d0280e0
tree308fcddd8a72c98e8937c16678844de0a4343434
parent90b999fed8ffd256f6929345f68bfd3fe6157b06
[dsymutil] Move abstractions into separate files (NFC)

This patch splits off some abstractions used by dsymutil's dwarf linker
and moves them into separate header and implementation files. This
almost halves the number of LOC in DwarfLinker.cpp and makes it a lot
easier to understand what functionality lives where.

Differential revision: https://reviews.llvm.org/D48647

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335749 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
tools/dsymutil/CMakeLists.txt
tools/dsymutil/CompileUnit.cpp [new file with mode: 0644]
tools/dsymutil/CompileUnit.h [new file with mode: 0644]
tools/dsymutil/DebugMap.cpp
tools/dsymutil/DebugMap.h
tools/dsymutil/DeclContext.cpp [new file with mode: 0644]
tools/dsymutil/DeclContext.h [new file with mode: 0644]
tools/dsymutil/DwarfLinker.cpp
tools/dsymutil/DwarfLinker.h [new file with mode: 0644]
tools/dsymutil/DwarfStreamer.cpp [new file with mode: 0644]
tools/dsymutil/DwarfStreamer.h [new file with mode: 0644]
tools/dsymutil/LinkUtils.h [new file with mode: 0644]
tools/dsymutil/MachODebugMapParser.cpp
tools/dsymutil/MachOUtils.cpp
tools/dsymutil/NonRelocatableStringpool.h
tools/dsymutil/dsymutil.cpp
tools/dsymutil/dsymutil.h