Make DIE.h a public CodeGen header.
authorFrederic Riss <friss@apple.com>
Mon, 5 Jan 2015 21:29:41 +0000 (21:29 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 5 Jan 2015 21:29:41 +0000 (21:29 +0000)
commite541e0b32756321dac8d5067d17901f913385ec2
tree897c2da4d4966e6241e95a211b7a3f9762af6884
parent4398850779b8d6f21ac6376440d5c857a11d40b3
Make DIE.h a public CodeGen header.

dsymutil would like to use all the AsmPrinter/MCStreamer infrastructure
to stream out the DWARF. In order to do so, it will reuse the DIE object
and so this header needs to be public.

The interface exposed here has some corners that cannot be used without a
DwarfDebug object, but clients that want to stream Dwarf can just avoid
these.

Differential Revision: http://reviews.llvm.org/D6695

llvm-svn: 225208
llvm/include/llvm/CodeGen/DIE.h [moved from llvm/lib/CodeGen/AsmPrinter/DIE.h with 100% similarity]
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
llvm/lib/CodeGen/AsmPrinter/DIEHash.h
llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/unittests/CodeGen/DIEHashTest.cpp