xref: /llvm-project/lldb/test/Shell/SymbolFile/PDB/variables-locations.test (revision 20c4e95b9c03a77c2e5ce5f354114752d380c591)
1REQUIRES: target-windows, lld
2RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/VariablesLocationsTest.cpp
3RUN: %lldb -b -s %S/Inputs/VariablesLocationsTest.script -- %t.exe | FileCheck %s
4RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -b -s %S/Inputs/VariablesLocationsTest.script -- %t.exe | FileCheck %s
5
6CHECK: g_var = 2222
7
8CHECK: arg_0 = 1111
9CHECK: arg_1 = 0.123
10
11CHECK: loc_0 = 'x'
12CHECK: loc_1 = 0.567
13
14CHECK: loc_0 = true
15CHECK: loc_1 = 3333
16
17CHECK: arg_0 = 22
18
19CHECK: loc_0 = (a = 1234)
20CHECK: loc_1 = 5678
21