xref: /llvm-project/lldb/test/Shell/Minidump/no-process-id.yaml (revision 8e893dfed5f9ae0aaebf528d12dccd109f17f2ee)
1# RUN: yaml2obj %s -o %t
2# RUN: %lldb -c %t -o "thread list" -o "register read" -b 2> %t.stderr | FileCheck %s
3
4# CHECK: (lldb) target create --core
5# CHECK: Core file {{.*}} was loaded.
6
7# CHECK: (lldb) thread list
8# CHECK: Process 1 stopped
9# CHECK: * thread #1: tid = 16001, 0x0000000000401dc6 a.out
10
11# CHECK: (lldb) register read
12# CHECK: rsp = 0x00007ffceb34a210
13
14# RUN: cat %t.stderr | FileCheck %s --check-prefix ERROR
15# ERROR: unable to retrieve process ID from minidump file, setting process ID to 1
16
17--- !minidump
18Streams:
19  - Type:            ThreadList
20    Threads:
21      - Thread Id:       0x00003E81
22        Context:         0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B0010000000000033000000000000000000000006020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010A234EBFC7F000010A234EBFC7F00000000000000000000F09C34EBFC7F0000C0A91ABCE97F00000000000000000000A0163FBCE97F00004602000000000000921C40000000000030A434EBFC7F000000000000000000000000000000000000C61D4000000000007F0300000000000000000000000000000000000000000000801F0000FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF25252525252525252525252525252525000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
23        Stack:
24          Start of Memory Range: 0x00007FFCEB34A000
25          Content:         ''
26  - Type:            ModuleList
27    Modules:
28      - Base of Image:   0x0000000000400000
29        Size of Image:   0x00017000
30        Module Name:     'a.out'
31        CodeView Record: ''
32  - Type:            SystemInfo
33    Processor Arch:  AMD64
34    Platform ID:     Linux
35    CSD Version:     'Linux 3.13'
36    CPU:
37      Vendor ID:       GenuineIntel
38      Version Info:    0x00000000
39      Feature Info:    0x00000000
40...
41