1// clang-format off
2
3// REQUIRES: system-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
7int main(int argc, char *argv[]) {
8 return 0;
9}
10
11// CHECK: "Loading "kernel32.dll"...ok{{.*}}
12// CHECK: Image 0 loaded.
13

source code of lldb/test/Shell/Process/Windows/process_load.cpp