43 lines · yaml
1# Check that looking up a memory region not present in the Minidump fails2# even if it's in the /proc/<pid>/maps file.3 4# RUN: yaml2obj %s -o %t5# RUN: %lldb -c %t -o "memory read 0x5000" 2>&1 | FileCheck %s6 7# CHECK-LABEL: (lldb) memory read 0x50008# CHECK-NEXT: error: No memory range found for address (0x5000)9 10--- !minidump11Streams:12 - Type: SystemInfo13 Processor Arch: AMD6414 Processor Level: 615 Processor Revision: 1587616 Number of Processors: 4017 Platform ID: Linux18 CSD Version: 'Linux 3.13.0-91-generic #138-Ubuntu SMP Fri Jun 24 17:00:34 UTC 2016 x86_64'19 CPU:20 Vendor ID: GenuineIntel21 Version Info: 0x0000000022 Feature Info: 0x0000000023 - Type: LinuxProcStatus24 Text: |25 Name: test-yaml26 Umask: 000227 State: t (tracing stop)28 Pid: 856729 - Type: LinuxMaps30 Text: |31 0x1000-0x1100 r-xp 00000000 00:00 032 0x2000-0x2200 rw-p 00000000 00:00 033 0x4000-0x6000 rw-- 00000000 00:00 034 - Type: Memory64List35 Memory Ranges:36 - Start of Memory Range: 0x100037 Data Size: 0x10038 Content : ''39 - Start of Memory Range: 0x200040 Data Size: 0x20041 Content : ''42...43