# Test whether NetBSD executables are recognized correctly.

# RUN: yaml2obj %s -o %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
...
