diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-12-09 23:18:34 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-12-09 23:18:34 +0000 |
| commit | 3681d1126c06732d1969611846636be8a644907a (patch) | |
| tree | d4965a55210dc8647c448b05b53e8828d2e1bf82 /llvm/lib/VMCore/AsmWriter.cpp | |
| parent | e17b7413e1b00d48303074aebf4a0c174fa51e9f (diff) | |
| download | bcm5719-llvm-3681d1126c06732d1969611846636be8a644907a.tar.gz bcm5719-llvm-3681d1126c06732d1969611846636be8a644907a.zip | |
Add dump method for debugging.
llvm-svn: 146293
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index d7863f5d326..4fb5fd3cb74 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -2110,3 +2110,6 @@ void Type::dump() const { print(dbgs()); } // Module::dump() - Allow printing of Modules from the debugger. void Module::dump() const { print(dbgs(), 0); } + +// NamedMDNode::dump() - Allow printing of NamedMDNodes from the debugger. +void NamedMDNode::dump() const { print(dbgs(), 0); } |

