forked from OSchip/llvm-project
13 lines
648 B
Plaintext
13 lines
648 B
Plaintext
REQUIRES: system-windows, lld
|
|
RUN: clang-cl /c /Zi %S/Inputs/FunctionNestedBlockTest.cpp /o %t.obj
|
|
RUN: lld-link /debug:full /nodefaultlib /entry:main %t.obj /out:%t.exe
|
|
RUN: lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-FUNCTION %s
|
|
RUN: 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 = "{{.*}}", mangled = "{{_?}}main"
|
|
|
|
CHECK-BLOCK: Found 1 blocks:
|
|
CHECK-BLOCK: Blocks: id = {{.*}}, range = {{.*}}
|
|
CHECK-BLOCK: id = {{.*}}, range = {{.*}}
|