1# XFAIL: system-windows
2# REQUIRES: native && target-x86_64
3# RUN: %clangxx_host -fomit-frame-pointer %p/Inputs/x86-64-gp-read.cpp -o %t
4# RUN: %lldb -b -s %s %t | FileCheck %s
5process launch
6
7register read --all
8# CHECK-DAG: rax = 0x0102030405060708
9# CHECK-DAG: rbx = 0x1112131415161718
10# CHECK-DAG: rcx = 0x2122232425262728
11# CHECK-DAG: rdx = 0x3132333435363738
12# CHECK-DAG: rdi = 0x7172737475767778
13# CHECK-DAG: rsi = 0x6162636465666768
14# CHECK-DAG: rbp = 0x5152535455565758
15# CHECK-DAG: rsp = 0x4142434445464748
16# CHECK-DAG: eax = 0x05060708
17# CHECK-DAG: ebx = 0x15161718
18# CHECK-DAG: ecx = 0x25262728
19# CHECK-DAG: edx = 0x35363738
20# CHECK-DAG: edi = 0x75767778
21# CHECK-DAG: esi = 0x65666768
22# CHECK-DAG: ebp = 0x55565758
23# CHECK-DAG: esp = 0x45464748
24# CHECK-DAG: ax = 0x0708
25# CHECK-DAG: bx = 0x1718
26# CHECK-DAG: cx = 0x2728
27# CHECK-DAG: dx = 0x3738
28# CHECK-DAG: di = 0x7778
29# CHECK-DAG: si = 0x6768
30# CHECK-DAG: bp = 0x5758
31# CHECK-DAG: sp = 0x4748
32# CHECK-DAG: ah = 0x07
33# CHECK-DAG: bh = 0x17
34# CHECK-DAG: ch = 0x27
35# CHECK-DAG: dh = 0x37
36# CHECK-DAG: al = 0x08
37# CHECK-DAG: bl = 0x18
38# CHECK-DAG: cl = 0x28
39# CHECK-DAG: dl = 0x38
40
41process continue
42# CHECK: Process {{[0-9]+}} exited with status = 0
43