Add a test case for the crash fixed with r267037. David Blaikie said it would be nice to have!

This was crashing llvm-objdump with -macho -objc-meta-data when trying dump a non-existent section.
So the test binary is simply created from an empty .s file compiled with: clang -arch armv7 empty.s -c


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby 2016-04-27 20:37:06 +00:00
parent 5678798442
commit 9390186529
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,3 @@
# RUN: llvm-objdump -macho -objc-meta-data %p/Inputs/empty.macho-armv7 | FileCheck %s
# CHECK: empty.macho-armv7: