Sign in
◑
Theme
llvm
/
llvm-project.git
/
refs/heads/main
/
.
/
lldb
/
test
/
API
/
macosx
/
dsym_modules
/
failing_hooks.py
blob: 28e51f1044b94e1ddf9942b7d8e732d792758dcd [
file
] [
edit
]
import
lldb
# Count on the lldb module, which isn't reloaded with this script.
def
__lldb_init_module
(
debugger
,
internal_dict
):
lldb
.
failing_hooks_inits
=
getattr
(
lldb
,
"failing_hooks_inits"
,
0
)
+
1
raise
RuntimeError
(
"this script fails to load"
)