xref: /llvm-project/lldb/test/Shell/Process/Windows/process_load.cpp (revision 20c4e95b9c03a77c2e5ce5f354114752d380c591)
1 // clang-format off
2 
3 // REQUIRES: target-windows
4 // RUN: %build --compiler=clang-cl -o %t.exe -- %s
5 // RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "b main" -o "process launch" -o "process load kernel32.dll" | FileCheck %s
6 
7 int main(int argc, char *argv[]) {
8   return 0;
9 }
10 
11 // CHECK: "Loading "kernel32.dll"...ok{{.*}}
12 // CHECK: Image 0 loaded.
13