IR: Annotate dump methods with LLVM_DUMP_METHOD
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Feb 2015 22:08:21 +0000 (22:08 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Feb 2015 22:08:21 +0000 (22:08 +0000)
commit3a955f3e68a1134a1e186fd88952df7da50cbc02
tree9dd1d53e3f6b39b186e0f80ead40db040f688c51
parentc0f0498636a89623b123ee4b389a7a41c372c76f
IR: Annotate dump methods with LLVM_DUMP_METHOD

It turns out we have a macro to ensure that debuggers can access
`dump()` methods.  Use it.  Hopefully this will prevent me (and others)
from committing crimes like in r223802 (search for /10000/, or just see
the fix in r224407).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AsmWriter.cpp