llvm/test/tools/llvm-objdump/macho-objc-meta-data.test
Kevin Enderby 9390186529 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
2016-04-27 20:37:06 +00:00

4 lines
115 B
Plaintext

# RUN: llvm-objdump -macho -objc-meta-data %p/Inputs/empty.macho-armv7 | FileCheck %s
# CHECK: empty.macho-armv7: