llvm.org GIT mirror llvm / a6d135a
[llvm-objdump] Handle invalid instruction gracefully on ARM Differential revision: https://reviews.llvm.org/D34813 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306687 91177308-0d34-0410-b5e6-96231b3b80d8 Eugene Leviant 2 years ago
2 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
485485 }
486486 }
487487
488 Size = 0;
488 Size = 4;
489489 return MCDisassembler::Fail;
490490 }
491491
0 @RUN: llvm-mc -triple arm-unknown-linux -filetype=obj %s | llvm-objdump -d - | FileCheck %s
1
2 .text
3 b l0
4 .inst 0xffffffff
5 l0:
6
7 @CHECK: 0: 00 00 00 ea b #0
8 @CHECK-NEXT: 4: ff ff ff ff