Move DwarfGenerator.cpp to unittests
authorDaniel Jasper <djasper@google.com>
Thu, 8 Dec 2016 12:45:29 +0000 (12:45 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 8 Dec 2016 12:45:29 +0000 (12:45 +0000)
commit0f77869d5838d260239709b1d6726f6eb5952325
tree9500cad032fbf2183380a238b47f6c691a8392a0
parent4f0d469d45a0a5c02467eddc471a22127db82f11
Move DwarfGenerator.cpp to unittests

So far it creates a test helper and so it should be moved there. It also
create a layering cycle between CodeGen and CodeGen/AsmPrinter, which
should be avoided.

Review: https://reviews.llvm.org/D27570
llvm-svn: 289044
llvm/lib/CodeGen/CMakeLists.txt
llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp [moved from llvm/lib/CodeGen/DwarfGenerator.cpp with 98% similarity]
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h [moved from llvm/lib/CodeGen/DwarfGenerator.h with 97% similarity]