llvm-objdump: Use help of CFG to print assembly when --cfg is passed.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 8 Aug 2011 18:32:12 +0000 (18:32 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 8 Aug 2011 18:32:12 +0000 (18:32 +0000)
commita21d81370942ae915d6229298d6a52e4d36dcc2a
tree8e077604e8a02878bc23955159098890c6cf2b9f
parentc0405292693dc463cd14ce20b3ead7dcd1260e8e
llvm-objdump: Use help of CFG to print assembly when --cfg is passed.

This way we can avoid printing unreachable code (data).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137057 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objdump/llvm-objdump.cpp