xref: /llvm-project/lldb/test/Shell/Diagnostics/TestDiagnosticsLog.test (revision 8aed0ce20fc6be41a7e49ea1433095d4cf583e56)
1# RUN: yaml2obj %s -o %t
2# RUN: mkdir -p %t.diags
3# RUN: %lldb -c %t -o 'diagnostics dump -d %t.diags' 2> %t.stderr
4
5# RUN: cat %t.stderr | FileCheck %s --check-prefix ERROR
6# RUN: cat %t.diags/diagnostics.log | FileCheck %s --check-prefix ERROR
7
8# ERROR: unable to retrieve process ID from minidump file, setting process ID to 1
9
10--- !minidump
11Streams:
12  - Type:            ThreadList
13    Threads:
14      - Thread Id:       0x00003E81
15        Context:         0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B0010000000000033000000000000000000000006020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010A234EBFC7F000010A234EBFC7F00000000000000000000F09C34EBFC7F0000C0A91ABCE97F00000000000000000000A0163FBCE97F00004602000000000000921C40000000000030A434EBFC7F000000000000000000000000000000000000C61D4000000000007F0300000000000000000000000000000000000000000000801F0000FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF25252525252525252525252525252525000000000000000000000000000000000000000000000000000000000000000000FFFF00FFFFFFFFFFFFFF00FFFFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
16        Stack:
17          Start of Memory Range: 0x00007FFCEB34A000
18          Content:         ''
19  - Type:            ModuleList
20    Modules:
21      - Base of Image:   0x0000000000400000
22        Size of Image:   0x00017000
23        Module Name:     'a.out'
24        CodeView Record: ''
25  - Type:            SystemInfo
26    Processor Arch:  AMD64
27    Platform ID:     Linux
28    CSD Version:     'Linux 3.13'
29    CPU:
30      Vendor ID:       GenuineIntel
31      Version Info:    0x00000000
32      Feature Info:    0x00000000
33...
34