mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
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:
parent
5678798442
commit
9390186529
BIN
test/tools/llvm-objdump/Inputs/empty.macho-armv7
Normal file
BIN
test/tools/llvm-objdump/Inputs/empty.macho-armv7
Normal file
Binary file not shown.
3
test/tools/llvm-objdump/macho-objc-meta-data.test
Normal file
3
test/tools/llvm-objdump/macho-objc-meta-data.test
Normal file
@ -0,0 +1,3 @@
|
||||
# RUN: llvm-objdump -macho -objc-meta-data %p/Inputs/empty.macho-armv7 | FileCheck %s
|
||||
|
||||
# CHECK: empty.macho-armv7:
|
Loading…
Reference in New Issue
Block a user