summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml')
-rw-r--r--lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml b/lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml
new file mode 100644
index 00000000000..d8e68e9085a
--- /dev/null
+++ b/lldb/test/Shell/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml
@@ -0,0 +1,22 @@
+# Test whether NetBSD executables are recognized correctly.
+
+# RUN: yaml2obj %s > %t
+# RUN: lldb-test object-file %t | FileCheck %s
+# CHECK: Architecture: x86_64--netbsd8.99.30
+# CHECK: Type: executable
+
+--- !ELF
+FileHeader:
+ Class: ELFCLASS64
+ Data: ELFDATA2LSB
+ Type: ET_EXEC
+ Machine: EM_X86_64
+ Entry: 0x00000000002006F0
+Sections:
+ - Name: .note.netbsd.ident
+ Type: SHT_NOTE
+ Flags: [ SHF_ALLOC ]
+ Address: 0x00000000002005A8
+ AddressAlign: 0x0000000000000004
+ Content: 0700000004000000010000004E6574425344000078B29535
+...
OpenPOWER on IntegriCloud