DWARF: Add basic support for line tables.

The llvm-dwarfdump output isn't very verbose yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2011-09-15 02:12:05 +00:00
parent c82751dd67
commit b848e97611
6 changed files with 709 additions and 1 deletions

View File

@@ -79,7 +79,8 @@ static void DumpInput(const StringRef &Filename) {
OwningPtr<DIContext> dictx(DIContext::getDWARFContext(/*FIXME*/true,
DebugInfoSection,
DebugAbbrevSection,
DebugArangesSection));
DebugArangesSection,
DebugLineSection));
dictx->dump(outs());
}