diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-06 16:48:42 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-06 16:48:42 +0000 |
commit | 2f867a63daf99dc27830d4442a574a790e02f27e (patch) | |
tree | 5cf0150904f469dcf298e37775f2d0762dd608e4 /test/MC/Disassembler/X86/truncated-input.txt | |
parent | 8143a84c46b8d2fb58eddb46d84dd5d44d03cb6c (diff) | |
download | external_llvm-2f867a63daf99dc27830d4442a574a790e02f27e.zip external_llvm-2f867a63daf99dc27830d4442a574a790e02f27e.tar.gz external_llvm-2f867a63daf99dc27830d4442a574a790e02f27e.tar.bz2 |
Correctly disassemble truncated asm.
Patch by Richard Simth.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/X86/truncated-input.txt')
-rw-r--r-- | test/MC/Disassembler/X86/truncated-input.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/truncated-input.txt b/test/MC/Disassembler/X86/truncated-input.txt new file mode 100644 index 0000000..34cf038 --- /dev/null +++ b/test/MC/Disassembler/X86/truncated-input.txt @@ -0,0 +1,4 @@ +# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 |& FileCheck %s + +# CHECK: warning +0x00 |