aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-objdump/MachO/unwind-info.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objdump/MachO/unwind-info.test')
-rw-r--r--llvm/test/tools/llvm-objdump/MachO/unwind-info.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/MachO/unwind-info.test b/llvm/test/tools/llvm-objdump/MachO/unwind-info.test
new file mode 100644
index 000000000000..33db84fc07d1
--- /dev/null
+++ b/llvm/test/tools/llvm-objdump/MachO/unwind-info.test
@@ -0,0 +1,7 @@
+RUN: llvm-objdump -macho -u %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
+
+CHECK: Contents of __compact_unwind section:
+CHECK: Entry at offset 0x0:
+CHECK: start: 0x0 _main
+CHECK: length: 0x3b
+CHECK: compact encoding: 0x01000000