1# Check that memory region parsing works correctly, with a particular emphasis 2# on the boundary conditions. 3 4# RUN: yaml2obj %s -o %t 5# RUN: %lldb -b -c %t \ 6# RUN: -o "memory region 0" -o "memory region 0xd9000" \ 7# RUN: -o "memory region 0xd9001" -o "memory region 0xdafff" \ 8# RUN: -o "memory region 0xdb000" -o "memory region 0xdd000" | FileCheck %s 9 10# CHECK-LABEL: (lldb) memory region 0 11# CHECK: [0x0000000000000000-0x00000000000d9000) --- 12# CHECK-LABEL: (lldb) memory region 0xd9000 13# CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process 14# CHECK-LABEL: (lldb) memory region 0xd9001 15# CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process 16# CHECK-LABEL: (lldb) memory region 0xdafff 17# CHECK: [0x00000000000d9000-0x00000000000db000) r-x /system/bin/app_process 18# CHECK-LABEL: (lldb) memory region 0xdb000 19# CHECK: [0x00000000000db000-0x00000000000dc000) --- 20# CHECK-LABEL: (lldb) memory region 0xdd000 21# CHECK: [0x00000000000dd000-0xffffffffffffffff) --- 22 23--- !minidump 24Streams: 25 - Type: SystemInfo 26 Processor Arch: AMD64 27 Platform ID: Linux 28 CPU: 29 Vendor ID: GenuineIntel 30 Version Info: 0x00000000 31 Feature Info: 0x00000000 32 - Type: LinuxProcStatus 33 Text: | 34 Name: nonexisting-module 35 State: t (tracing stop) 36 Tgid: 29939 37 Ngid: 0 38 Pid: 29939 39 PPid: 29370 40 TracerPid: 29940 41 Uid: 1001 1001 1001 1001 42 Gid: 1001 1001 1001 1001 43 44 - Type: LinuxMaps 45 Text: | 46 000d9000-000db000 r-xp 00000000 b3:04 227 /system/bin/app_process 47 000dc000-000dd000 rw-p 00000000 00:00 0 48 49... 50