summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/Inputs
AgeCommit message (Collapse)Author
2024-12-06[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to examplesAdrian Prantl
This PR adds a proof-of-concept for a bytecode designed to ship and run LLDB data formatters. More motivation and context can be found in the formatter-bytecode.rst file and on discourse. https://discourse.llvm.org/t/a-bytecode-for-lldb-data-formatters/82696 Relanding with a fix for a case-sensitive path.
2024-12-06Revert "[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to ↵Adrian Prantl
examples" This reverts commit 60380cd27c6fa5ed6e39866c51b18a64bc4d566a.
2024-12-06[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to examplesAdrian Prantl
This PR adds a proof-of-concept for a bytecode designed to ship and run LLDB data formatters. More motivation and context can be found in the formatter-bytecode.rst file and on discourse. https://discourse.llvm.org/t/a-bytecode-for-lldb-data-formatters/82696 Relanding with a fix for a case-sensitive path.
2024-12-06Revert "[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to ↵Adrian Prantl
examples" This reverts commit 7e3da87ca896484a11ac09df297183147154ac91. I managed to break the bots.
2024-12-06[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to ↵Adrian Prantl
lldb/examples (#113398) This PR adds a proof-of-concept for a bytecode designed to ship and run LLDB data formatters. More motivation and context can be found in the `formatter-bytecode.md` file and on discourse. https://discourse.llvm.org/t/a-bytecode-for-lldb-data-formatters/82696
2023-05-25[NFC][Py Reformat] Reformat python files in lldbJonas Devlieghere
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0). If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run `git checkout --ours <yourfile>` and then reformat it with black. RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Differential revision: https://reviews.llvm.org/D151460
2020-10-27[lldb] Support Python imports relative the to the current file being sourcedJonas Devlieghere
Make it possible to use a relative path in command script import to the location of the file being sourced. This allows the user to put Python scripts next to LLDB command files and importing them without having to specify an absolute path. To enable this behavior pass `-c` to `command script import`. The argument can only be used when sourcing the command from a file. rdar://68310384 Differential revision: https://reviews.llvm.org/D89334
2020-05-29[lldb/Bindings] Raise exception when using properties that rely on lldb.targetJonas Devlieghere
Several SBAddress properties use the lldb.target or lldb.process convenience variables which are only set under the interactive script interpreter. Unfortunately, users have been using these properties in Python script and commands. This patch raises a Python exception to force users to use GetLoadAddress instead. Differential revision: https://reviews.llvm.org/D80848