1 # UNSUPPORTED: system-darwin
2 # REQUIRES: native && target-x86_64
3 # RUN: %clangxx_host -fomit-frame-pointer %p/Inputs/x86-64-gp-write.cpp -o %t
4 # RUN: %lldb -b -s %s %t | FileCheck %s
7 register write rax 0x0102030405060708
8 register write rbx 0x1112131415161718
9 register write rcx 0x2122232425262728
10 register write rdx 0x3132333435363738
11 register write rsp 0x4142434445464748
12 register write rbp 0x5152535455565758
13 register write rsi 0x6162636465666768
14 register write rdi 0x7172737475767778
17 # CHECK-DAG: rax = 0x0102030405060708
18 # CHECK-DAG: rbx = 0x1112131415161718
19 # CHECK-DAG: rcx = 0x2122232425262728
20 # CHECK-DAG: rdx = 0x3132333435363738
21 # CHECK-DAG: rsp = 0x4142434445464748
22 # CHECK-DAG: rbp = 0x5152535455565758
23 # CHECK-DAG: rsi = 0x6162636465666768
24 # CHECK-DAG: rdi = 0x7172737475767778
26 # CHECK: Process {{[0-9]+}} exited with status = 0