forked from OSchip/llvm-project
127 lines
6.5 KiB
Plaintext
127 lines
6.5 KiB
Plaintext
# RUN: yaml2obj %s -o %t
|
|
# RUN: %lldb -c %t -o 'process plugin dump --all' | \
|
|
# RUN: FileCheck --check-prefix=CHECKDIR --check-prefix=CHECKCPU \
|
|
# RUN: --check-prefix=CHECKSTATUS --check-prefix=CHECKLSB \
|
|
# RUN: --check-prefix=CHECKCMD --check-prefix=CHECKENV \
|
|
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP \
|
|
# RUN: --check-prefix=CHECKSTAT --check-prefix=CHECKUP --check-prefix=CHECKFD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -a' | \
|
|
# RUN: FileCheck --check-prefix=CHECKDIR --check-prefix=CHECKCPU \
|
|
# RUN: --check-prefix=CHECKSTATUS --check-prefix=CHECKLSB \
|
|
# RUN: --check-prefix=CHECKCMD --check-prefix=CHECKENV \
|
|
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP \
|
|
# RUN: --check-prefix=CHECKSTAT --check-prefix=CHECKUP --check-prefix=CHECKFD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --directory' | FileCheck --check-prefix=CHECKDIR %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -d' | FileCheck --check-prefix=CHECKDIR %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --linux' | \
|
|
# RUN: FileCheck --check-prefix=CHECKCPU --check-prefix=CHECKSTATUS \
|
|
# RUN: --check-prefix=CHECKLSB --check-prefix=CHECKCMD --check-prefix=CHECKENV \
|
|
# RUN: --check-prefix=CHECKAUX --check-prefix=CHECKMAP --check-prefix=CHECKSTAT \
|
|
# RUN: --check-prefix=CHECKUP --check-prefix=CHECKFD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --cpuinfo' | FileCheck --check-prefix=CHECKCPU %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -C' | FileCheck --check-prefix=CHECKCPU %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --status' | FileCheck --check-prefix=CHECKSTATUS %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -s' | FileCheck --check-prefix=CHECKSTATUS %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --lsb-release' | FileCheck --check-prefix=CHECKLSB %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -r' | FileCheck --check-prefix=CHECKLSB %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --cmdline' | FileCheck --check-prefix=CHECKCMD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -c' | FileCheck --check-prefix=CHECKCMD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --environ' | FileCheck --check-prefix=CHECKENV %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -e' | FileCheck --check-prefix=CHECKENV %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --auxv' | FileCheck --check-prefix=CHECKAUX %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -x' | FileCheck --check-prefix=CHECKAUX %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --maps' | FileCheck --check-prefix=CHECKMAP %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -m' | FileCheck --check-prefix=CHECKMAP %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --stat' | FileCheck --check-prefix=CHECKSTAT %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -S' | FileCheck --check-prefix=CHECKSTAT %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --uptime' | FileCheck --check-prefix=CHECKUP %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -u' | FileCheck --check-prefix=CHECKUP %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump --fd' | FileCheck --check-prefix=CHECKFD %s
|
|
# RUN: %lldb -c %t -o 'process plugin dump -f' | FileCheck --check-prefix=CHECKFD %s
|
|
|
|
# CHECKDIR: RVA SIZE TYPE StreamType
|
|
# CHECKDIR-NEXT: ---------- ---------- ---------- --------------------------
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000038 0x00000007 SystemInfo
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x0000000f MiscInfo
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000010 0x47670003 LinuxCPUInfo
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001a 0x47670004 LinuxProcStatus
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x47670005 LinuxLSBRelease
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001b 0x47670006 LinuxCMDLine
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000001b 0x47670007 LinuxEnviron
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x47670008 LinuxAuxv
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x000000bb 0x47670009 LinuxMaps
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000018 0x4767000b LinuxProcStat
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x0000000e 0x4767000c LinuxProcUptime
|
|
# CHECKDIR-NEXT: 0x{{[0-9a-f]{8} }}0x00000016 0x4767000d LinuxProcFD
|
|
|
|
--- !minidump
|
|
Streams:
|
|
- Type: SystemInfo
|
|
Processor Arch: BP_ARM64
|
|
Platform ID: Linux
|
|
CSD Version: '15E216'
|
|
CPU:
|
|
CPUID: 0x00000000
|
|
- Type: MiscInfo
|
|
Content: 00000000010000007B000000000000000000000000000000
|
|
- Type: LinuxCPUInfo
|
|
Text: |
|
|
cpu info output
|
|
|
|
# CHECKCPU: /proc/cpuinfo:
|
|
# CHECKCPU-NEXT: cpu info output
|
|
- Type: LinuxProcStatus
|
|
Text: |
|
|
/proc/<pid>/status output
|
|
|
|
# CHECKSTATUS: /proc/PID/status:
|
|
# CHECKSTATUS-NEXT: /proc/<pid>/status output
|
|
- Type: LinuxLSBRelease
|
|
Text: |
|
|
/etc/lsb-release output
|
|
|
|
# CHECKLSB: /etc/lsb-release:
|
|
# CHECKLSB-NEXT: /etc/lsb-release output
|
|
- Type: LinuxCMDLine
|
|
Text: |
|
|
/proc/<pid>/cmdline output
|
|
|
|
# CHECKCMD: /proc/PID/cmdline:
|
|
# CHECKCMD-NEXT: /proc/<pid>/cmdline output
|
|
- Type: LinuxEnviron
|
|
Content: 2F70726F632F3C7069643E2F656E7669726F6E206F757470757400
|
|
# CHECKENV: /proc/PID/environ:
|
|
# CHECKENV-NEXT: /proc/<pid>/environ output
|
|
- Type: LinuxAuxv
|
|
Content: 2F70726F632F3C7069643E2F61757876206F757470757400
|
|
# CHECKAUX: /proc/PID/auxv:
|
|
# CHECKAUX-NEXT: 0x00000000: 2f 70 72 6f 63 2f 3c 70 69 64 3e 2f 61 75 78 76 /proc/<pid>/auxv
|
|
# CHECKAUX-NEXT: 0x00000010: 20 6f 75 74 70 75 74 00 output.
|
|
- Type: LinuxMaps
|
|
Text: |
|
|
400d9000-400db000 r-xp 00000000 b3:04 227 /system/bin/app_process
|
|
400db000-400dc000 r--p 00001000 b3:04 227 /system/bin/app_process
|
|
400dc000-400dd000 rw-p 00000000 00:00 0
|
|
|
|
# CHECKMAP: /proc/PID/maps:
|
|
# CHECKMAP-NEXT: 400d9000-400db000 r-xp 00000000 b3:04 227 /system/bin/app_process
|
|
# CHECKMAP-NEXT: 400db000-400dc000 r--p 00001000 b3:04 227 /system/bin/app_process
|
|
# CHECKMAP-NEXT: 400dc000-400dd000 rw-p 00000000 00:00 0
|
|
- Type: LinuxProcStat
|
|
Text: |
|
|
/proc/<pid>/stat output
|
|
|
|
# CHECKSTAT: /proc/PID/stat:
|
|
# CHECKSTAT-NEXT: /proc/<pid>/stat output
|
|
- Type: LinuxProcUptime
|
|
Text: |
|
|
uptime output
|
|
|
|
# CHECKUP: uptime:
|
|
# CHECKUP-NEXT: uptime output
|
|
- Type: LinuxProcFD
|
|
Content: 2F70726F632F3C7069643E2F6664206F757470757400
|
|
# CHECKFD: /proc/PID/fd:
|
|
# CHECKFD-NEXT: /proc/<pid>/fd output
|
|
...
|