Skip to content

Commit 60c4e6a

Browse files
committed
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
1 parent 65572af commit 60c4e6a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
152 Bytes
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# RUN: llvm-objdump -macho -objc-meta-data %p/Inputs/empty.macho-armv7 | FileCheck %s
2+
3+
# CHECK: empty.macho-armv7:

0 commit comments

Comments
 (0)