MC CFG: When disassembly is impossible, fallback to data bytes.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 21 Aug 2013 07:28:32 +0000 (07:28 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 21 Aug 2013 07:28:32 +0000 (07:28 +0000)
commit46937278fad5e47178b0c5f5e062eba71644231e
tree141cd7b3a32d69ed74adeb329df64f7548b93470
parent0a30cccd493e3bc82a5771ca15326f7cc8b6cb8c
MC CFG: When disassembly is impossible, fallback to data bytes.

This is the behavior of sequential disassemblers (llvm-objdump, ...),
when there is no instruction size hint (fixed-length, ...)

While there, also do some minor cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188883 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectDisassembler.cpp