summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Minidump/Windows/find-module.test
blob: 170a1803c67d04500dd5776c724f4178a81771c8 (plain)
1
2
3
4
5
6
7
8
9
10
Test that we correctly find a PE/COFF file in our executable search path, and
use it when opening minidumps.

RUN: yaml2obj %S/Inputs/find-module.exe.yaml > %T/find-module.exe
RUN: yaml2obj %S/Inputs/find-module.dmp.yaml > %T/find-module.dmp
RUN: %lldb -O "settings set target.exec-search-paths %T" \
RUN:   -c %T/find-module.dmp -o "image dump objfile" -o exit | FileCheck %s

CHECK-LABEL: image dump objfile
CHECK: ObjectFilePECOFF, file = '{{.*}}find-module.exe', arch = i386
OpenPOWER on IntegriCloud