Files
clang-p2996/lldb/test/Shell/Minidump/Windows/find-module.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

11 lines
479 B
Plaintext

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