Add command-line flags for DWARF dumping.

Flags for dumping specific DWARF sections added in lib/DebugInfo and
llvm-dwarfdump.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Bendersky
2013-01-25 20:26:43 +00:00
parent 3b6a5eefe0
commit 939a4e8b69
5 changed files with 131 additions and 65 deletions

View File

@@ -45,7 +45,7 @@ class DWARFContext : public DIContext {
public:
DWARFContext() {}
virtual void dump(raw_ostream &OS);
virtual void dump(raw_ostream &OS, DIDumpType DumpType = DIDT_All);
/// Get the number of compile units in this context.
unsigned getNumCompileUnits() {