summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools')
-rwxr-xr-xllvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64bin0 -> 8704 bytes
-rw-r--r--llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test5
2 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64 b/llvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64
new file mode 100755
index 00000000000..c4cbe2a1c3e
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64
Binary files differ
diff --git a/llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test b/llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test
new file mode 100644
index 00000000000..26984a3485e
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test
@@ -0,0 +1,5 @@
+# RUN: llvm-objdump -unwind-info %p/Inputs/malformed-unwind.macho-x86_64 | FileCheck %s
+
+# CHECK: Contents of __unwind_info section:
+# [...]
+# CHECK: Skipping 2nd level page with unknown kind 4
OpenPOWER on IntegriCloud