[lldb] Support Python imports relative the to the current file being sourcedMake it possible to use a relative path in command script import to thelocation of the file being sourced. This allows t
[lldb] Support Python imports relative the to the current file being sourcedMake it possible to use a relative path in command script import to thelocation of the file being sourced. This allows the user to put Pythonscripts next to LLDB command files and importing them without having tospecify an absolute path.To enable this behavior pass `-c` to `command script import`. Theargument can only be used when sourcing the command from a file.rdar://68310384Differential revision: https://reviews.llvm.org/D89334
show more ...
[lldb/Bindings] Raise exception when using properties that rely on lldb.targetSeveral SBAddress properties use the lldb.target or lldb.processconvenience variables which are only set under the int
[lldb/Bindings] Raise exception when using properties that rely on lldb.targetSeveral SBAddress properties use the lldb.target or lldb.processconvenience variables which are only set under the interactive scriptinterpreter. Unfortunately, users have been using these properties inPython script and commands. This patch raises a Python exception toforce users to use GetLoadAddress instead.Differential revision: https://reviews.llvm.org/D80848