1# Test that we can attach breakpad symbols to the "placeholder" modules created 2# for minidump files. 3# 4# The minidump input for this test taken from packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new 5 6# RUN: yaml2obj %S/Inputs/linux-x86_64.yaml -o %t 7# RUN: %lldb -c %t \ 8# RUN: -o "target symbols add -s /tmp/test/linux-x86_64 %S/Inputs/linux-x86_64.syms" \ 9# RUN: -s %s -o exit | FileCheck %s 10 11image list 12# CHECK-LABEL: image list 13# CHECK: E35C283B-C327-C287-62DB-788BF5A4078B-E2351448 0x0000000000400000 /tmp/test/linux-x86_64 14 15image dump symtab /tmp/test/linux-x86_64 16# CHECK-LABEL: image dump symtab /tmp/test/linux-x86_64 17# CHECK: Symtab, file = /tmp/test/linux-x86_64, num_symbols = 2: 18# CHECK: [ 0] 0 X Code 0x00000000004003d0 0x00000000004003d0 0x0000000000000018 0x00000000 crash() 19# CHECK: [ 1] 0 X Code 0x00000000004003f0 0x00000000004003f0 0x0000000000000010 0x00000000 _start 20 21image lookup -a 0x4003f3 22# CHECK-LABEL: image lookup -a 0x4003f3 23# CHECK: Summary: linux-x86_64`_start + 3 24 25image dump objfile /tmp/test/linux-x86_64 26# CHECK-LABEL: image dump objfile /tmp/test/linux-x86_64 27# CHECK: Placeholder object file for /tmp/test/linux-x86_64 loaded at [0x400000-0x401000) 28