1 # RUN: %lldb -b -s %s -c %p/Inputs/x86-64-freebsd-multithread.core | FileCheck %s
4 # CHECK: * thread #1: tid = 100744, 0x00000000002030c2, name = 'a.out', stop reason = signal SIGSEGV
5 # CHECK-NEXT: thread #2: tid = 100720, 0x0000000800396b3c, name = 'a.out', stop reason = signal SIGSEGV
6 # CHECK-NEXT: thread #3: tid = 100745, 0x00000000002030cd, name = 'a.out', stop reason = signal SIGSEGV
7 # CHECK-NEXT: thread #4: tid = 100746, 0x00000000002030cd, name = 'a.out', stop reason = signal SIGSEGV
11 # CHECK-DAG: ecx = 0x04040404
12 # CHECK-DAG: edx = 0x03030303
13 # CHECK-DAG: edi = 0x01010101
14 # CHECK-DAG: esi = 0x02020202
15 # CHECK-DAG: xmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
16 # CHECK-DAG: xmm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x10 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
17 # CHECK-DAG: xmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x20 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
18 # CHECK-DAG: xmm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x30 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
21 # CHECK: (lldb) thread select 3
23 # CHECK-DAG: ecx = 0x14141414
24 # CHECK-DAG: edx = 0x13131313
25 # CHECK-DAG: edi = 0x11111111
26 # CHECK-DAG: esi = 0x12121212
27 # CHECK-DAG: xmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x08 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
28 # CHECK-DAG: xmm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x18 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
29 # CHECK-DAG: xmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x22 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
30 # CHECK-DAG: xmm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x28 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
33 # CHECK: (lldb) thread select 4
35 # CHECK-DAG: ecx = 0x24242424
36 # CHECK-DAG: edx = 0x23232323
37 # CHECK-DAG: edi = 0x21212121
38 # CHECK-DAG: esi = 0x22222222
39 # CHECK-DAG: xmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x14 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
40 # CHECK-DAG: xmm1 = {0x00 0x00 0x00 0x00 0x00 0x00 0x24 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
41 # CHECK-DAG: xmm2 = {0x00 0x00 0x00 0x00 0x00 0x00 0x2e 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
42 # CHECK-DAG: xmm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x34 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}