]> granicus.if.org Git - llvm/commitdiff
[mips][mc] Fix a crash when disassembling odd sized sections
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 24 Feb 2017 12:47:41 +0000 (12:47 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Fri, 24 Feb 2017 12:47:41 +0000 (12:47 +0000)
Attempt to fix failing test.

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

test/tools/llvm-objdump/Mips/disassemble-all.test

index 4554a0e030ae6539ff3276438f2a9ed093496356..f0b1070baddd2c9799921167c771a8865b9e57b8 100644 (file)
@@ -1,4 +1,5 @@
 # RUN: yaml2obj %s | llvm-objdump -D -
+# REQUIRES: mips64el-registered-target
 
 # Test that -D does not crash llvm-objdump encounters a section who size is a
 # not a multiple of the size of an instruction.