[PATCH] D26879: Make a DwarfGen class that can generate DWARF for unittests and add units tests to test DWARF API.
Greg Clayton via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 11:28:04 PST 2016
clayborg updated this revision to Diff 78901.
clayborg added a comment.
Cleaned up how DWARF versions are stored. DwarfDebug was storing its own copy of the DWARF version and the out streamer also contained a version. Centralized the DWARF version code to live in the streamer. This allows AsmPrinter clients (like many classes in DIE.cpp) to not have to rely on the AsmPrinter having a DwarfDebug class just to get the DWARF version.
https://reviews.llvm.org/D26879
Files:
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/DIE.h
include/llvm/CodeGen/DIEValue.def
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIEHash.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfFile.cpp
lib/CodeGen/AsmPrinter/DwarfFile.h
lib/CodeGen/CMakeLists.txt
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
tools/dsymutil/DwarfLinker.cpp
unittests/DebugInfo/DWARF/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26879.78901.patch
Type: text/x-patch
Size: 27478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/0c009161/attachment-0001.bin>
More information about the llvm-commits
mailing list