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

llvm-svn: 267782
This commit is contained in:
Kevin Enderby 2016-04-27 20:37:06 +00:00
parent 65572afea8
commit 60c4e6aafa
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: