commit | 3d523a657a3ca3e3321527c50c2ea0b68ae45cb1 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Wed Aug 16 17:43:01 2017 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Wed Aug 16 17:43:01 2017 +0000 |
tree | 2e7400abceb0f59244f1ad3fbc4306582a01b407 | |
parent | 5a57b842cfa8a7cf36eb13670a697dadf01172e0 [diff] [blame] |
Add a convenience overload of DWARFDie::dump() for debugging purposes. llvm-svn: 311026
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp index 09c0044..42e014f 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
@@ -377,6 +377,8 @@ } } +LLVM_DUMP_METHOD void DWARFDie::dump() const { dump(llvm::errs(), 0); } + DWARFDie DWARFDie::getParent() const { if (isValid()) return U->getParent(Die);