xref: /llvm-project/lldb/test/Shell/ObjectFile/ELF/netbsd-core-amd64.test (revision 87aa9c9e4d41ed881453e2fab85b3d25f648bb55)
1*87aa9c9eSJonas Devlieghere# Test whether NetBSD core dumps are recognized correctly.
2*87aa9c9eSJonas Devlieghere
3*87aa9c9eSJonas Devlieghere# Core dump generated by the following program:
4*87aa9c9eSJonas Devlieghere# int main() {
5*87aa9c9eSJonas Devlieghere#   void* v = 0;
6*87aa9c9eSJonas Devlieghere#   *v = 1;
7*87aa9c9eSJonas Devlieghere#   return 0;
8*87aa9c9eSJonas Devlieghere# }
9*87aa9c9eSJonas Devlieghere
10*87aa9c9eSJonas Devlieghere# RUN: lldb-test object-file %S/Inputs/netbsd-amd64.core | FileCheck %s
11*87aa9c9eSJonas Devlieghere# CHECK: Architecture: x86_64-unknown-netbsd
12*87aa9c9eSJonas Devlieghere# CHECK: Type: core file
13