File: x86-64-gp-read.test

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (41 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# REQUIRES: native && target-x86_64
# RUN: %clangxx_host -fomit-frame-pointer %p/Inputs/x86-64-gp-read.cpp -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
process launch

register read --all
# CHECK-DAG: rax = 0x0102030405060708
# CHECK-DAG: rbx = 0x1112131415161718
# CHECK-DAG: rcx = 0x2122232425262728
# CHECK-DAG: rdx = 0x3132333435363738
# CHECK-DAG: rdi = 0x7172737475767778
# CHECK-DAG: rsi = 0x6162636465666768
# CHECK-DAG: rbp = 0x5152535455565758
# CHECK-DAG: rsp = 0x4142434445464748
# CHECK-DAG: eax = 0x05060708
# CHECK-DAG: ebx = 0x15161718
# CHECK-DAG: ecx = 0x25262728
# CHECK-DAG: edx = 0x35363738
# CHECK-DAG: edi = 0x75767778
# CHECK-DAG: esi = 0x65666768
# CHECK-DAG: ebp = 0x55565758
# CHECK-DAG: esp = 0x45464748
# CHECK-DAG: ax = 0x0708
# CHECK-DAG: bx = 0x1718
# CHECK-DAG: cx = 0x2728
# CHECK-DAG: dx = 0x3738
# CHECK-DAG: di = 0x7778
# CHECK-DAG: si = 0x6768
# CHECK-DAG: bp = 0x5758
# CHECK-DAG: sp = 0x4748
# CHECK-DAG: ah = 0x07
# CHECK-DAG: bh = 0x17
# CHECK-DAG: ch = 0x27
# CHECK-DAG: dh = 0x37
# CHECK-DAG: al = 0x08
# CHECK-DAG: bl = 0x18
# CHECK-DAG: cl = 0x28
# CHECK-DAG: dl = 0x38

process continue
# CHECK: Process {{[0-9]+}} exited with status = 0