This test passes with both plugins, but only ran with the DIA plugin. It was fixed with #161678, where I missed this test.
14 lines
973 B
Plaintext
14 lines
973 B
Plaintext
REQUIRES: system-windows, lld
|
|
RUN: %build --compiler=clang-cl --nodefaultlib --output=%t.exe %S/Inputs/FunctionNestedBlockTest.cpp
|
|
RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-FUNCTION %s
|
|
RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols -find=block -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-BLOCK %s
|
|
RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-FUNCTION %s
|
|
RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -find=block -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-BLOCK %s
|
|
|
|
CHECK-FUNCTION: Found 1 functions:
|
|
CHECK-FUNCTION: name = "main"
|
|
|
|
CHECK-BLOCK: Found 1 blocks:
|
|
CHECK-BLOCK: Blocks: id = {{.*}}, range = {{.*}}
|
|
CHECK-BLOCK: id = {{.*}}, range = {{.*}}
|