1 # RUN: yaml2obj %S/Inputs/symbols.yaml -o %t
3 # RUN: %lldb %t -b -o "target modules lookup -A -r -s some" | FileCheck %s -DMODULE=%basename_t.tmp --implicit-check-not ignoreThisFunction
4 # CHECK: 4 symbols match the regular expression 'some' in {{.*}}[[MODULE]]:
5 # CHECK-NEXT: Address: [[MODULE]][0x0000000000000000] ([[MODULE]]..text + 0)
6 # CHECK-NEXT: Summary: [[MODULE]]`someFunc(int, int, int)
7 # CHECK-NEXT: Address: [[MODULE]][0x000000000000001c] ([[MODULE]]..text + 28)
8 # CHECK-NEXT: Summary: [[MODULE]]`someFunc(char, int)
9 # CHECK-NEXT: Address: [[MODULE]][0x0000000000000034] ([[MODULE]]..text + 52)
10 # CHECK-NEXT: Summary: [[MODULE]]`someOtherFunc()
11 # CHECK-NEXT: Address: [[MODULE]][0x0000000000000038] ([[MODULE]]..text + 56)
12 # CHECK-NEXT: Summary: [[MODULE]]`someOtherFunc(double)
14 # RUN: %lldb %t -b -o "target modules lookup -r -n \".*someFunc\"" | FileCheck %s -DMODULE=%basename_t.tmp --check-prefix CHECKFN
15 # CHECKFN: 2 matches found in {{.*}}[[MODULE]]:
16 # CHECKFN-NEXT: Address: [[MODULE]][0x0000000000000000] ([[MODULE]]..text + 0)
17 # CHECKFN-NEXT: Summary: [[MODULE]]`someFunc(int, int, int)
18 # CHECKFN-NEXT: Address: [[MODULE]][0x000000000000001c] ([[MODULE]]..text + 28)
19 # CHECKFN-NEXT: Summary: [[MODULE]]`someFunc(char, int)