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)
commit0c36e97b78ffd3486b2fb01dd3191f0e7367810d
tree01c0c701e86d7ef50d1211e6657f908fb2d2e9ad
parent5a0743e1e8362cc11d5ac12399034f8a884c0cb8
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225208 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DIE.h [new file with mode: 0644]
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIE.h [deleted file]
lib/CodeGen/AsmPrinter/DIEHash.cpp
lib/CodeGen/AsmPrinter/DIEHash.h
lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
lib/CodeGen/AsmPrinter/DwarfAccelTable.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfUnit.h
unittests/CodeGen/DIEHashTest.cpp