brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 724d524 Raw
32 lines · plain
1Test that we correctly find a PE/COFF file in our executable search path, and2use it when opening minidumps.3 4XFAIL: system-windows && remote-linux5 6RUN: mkdir -p %t.dir7RUN: yaml2obj %S/Inputs/find-module.exe.yaml -o %t.dir/find-module.exe8RUN: yaml2obj %S/Inputs/find-module.dmp.yaml -o %t.dir/find-module.dmp9RUN: %lldb -O "settings set target.exec-search-paths %t.dir" \10RUN:   -c %t.dir/find-module.dmp -o "image dump objfile" -o "target list" -o exit \11RUN:   | FileCheck --check-prefix=DEFAULT %s12 13RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \14RUN:   -O "settings set target.exec-search-paths %t.dir" -c %t.dir/find-module.dmp \15RUN:   -o "target list" -o exit | FileCheck --check-prefix=MSVC %s16 17RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi gnu" \18RUN:   -O "settings set target.exec-search-paths %t.dir" -c %t.dir/find-module.dmp \19RUN:   -o "target list" -o exit | FileCheck --check-prefix=GNU %s20 21DEFAULT-LABEL: image dump objfile22DEFAULT: ObjectFilePECOFF, file = '{{.*}}find-module.exe', arch = i38623 24DEFAULT-LABEL: target list25DEFAULT: arch=i386-pc-windows-{{msvc|gnu}}26 27MSVC-LABEL: target list28MSVC: arch=i386-pc-windows-msvc29 30GNU-LABEL: target list31GNU: arch=i386-pc-windows-gnu32