2 # RUN: %clang_host -g %S/Inputs/main.c -o %t
3 # RUN: %lldb %t -O 'command script import %S/Inputs/stop_hook.py' -s %s -o exit | FileCheck %s
7 # CHECK: Breakpoint 1: where = {{.*}}`main
9 target stop-hook add -P stop_hook.stop_handler
10 # CHECK-LABEL: target stop-hook add -P stop_hook.stop_handler
11 # CHECK: Stop hook #1 added.
15 # CHECK: I did indeed run
16 # CHECK: Process {{.*}} stopped
17 # CHECK: stop reason = breakpoint 1
18 # CHECK: frame #0: {{.*}}`main at main.c