OSDN Git Service

Sketch out a DWARF parser.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 13 Sep 2011 19:42:23 +0000 (19:42 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 13 Sep 2011 19:42:23 +0000 (19:42 +0000)
commit72c0d7fdd3d0930c7507060e96aec7d7429a8190
tree78cea7afdfd25de5a88d35782530bc2e58049eb0
parent8c74f7f2991a10977fd5a003b2901b56eb2e19a8
Sketch out a DWARF parser.

This introduces a new library to LLVM: libDebugInfo. It will provide debug information
parsing to LLVM. Much of the design and some of the code is taken from the LLDB project.

It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an
object file. It can be used to write tests for DWARF input and output easily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139627 91177308-0d34-0410-b5e6-96231b3b80d8
24 files changed:
include/llvm/DebugInfo/DIContext.h [new file with mode: 0644]
lib/CMakeLists.txt
lib/DebugInfo/CMakeLists.txt [new file with mode: 0644]
lib/DebugInfo/DIContext.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFAbbreviationDeclaration.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFAbbreviationDeclaration.h [new file with mode: 0644]
lib/DebugInfo/DWARFAttribute.h [new file with mode: 0644]
lib/DebugInfo/DWARFCompileUnit.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFCompileUnit.h [new file with mode: 0644]
lib/DebugInfo/DWARFContext.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFContext.h [new file with mode: 0644]
lib/DebugInfo/DWARFDebugAbbrev.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFDebugAbbrev.h [new file with mode: 0644]
lib/DebugInfo/DWARFDebugInfoEntry.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFDebugInfoEntry.h [new file with mode: 0644]
lib/DebugInfo/DWARFFormValue.cpp [new file with mode: 0644]
lib/DebugInfo/DWARFFormValue.h [new file with mode: 0644]
lib/DebugInfo/Makefile [new file with mode: 0644]
lib/Makefile
tools/CMakeLists.txt
tools/Makefile
tools/llvm-dwarfdump/CMakeLists.txt [new file with mode: 0644]
tools/llvm-dwarfdump/Makefile [new file with mode: 0644]
tools/llvm-dwarfdump/llvm-dwarfdump.cpp [new file with mode: 0644]