mib created this revision.
mib added reviewers: bulbazord, JDevlieghere.
mib added a project: LLDB.
Herald added a project: All.
mib requested review of this revision.
Herald added a subscriber: lldb-commits.
This patch moves the template files for the various scripting
affordances to a separate directory.
This is a preparatory work for upcoming improvements and consolidations
to other scripting affordances.
Signed-off-by: Med Ismail Bennani <[email protected]>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159310
Files:
lldb/bindings/python/CMakeLists.txt
lldb/examples/python/crashlog_scripted_process.py
lldb/examples/python/scripted_process/crashlog_scripted_process.py
lldb/examples/python/scripted_process/scripted_platform.py
lldb/examples/python/scripted_process/scripted_process.py
lldb/examples/python/templates/scripted_platform.py
lldb/examples/python/templates/scripted_process.py
Index: lldb/bindings/python/CMakeLists.txt
===================================================================
--- lldb/bindings/python/CMakeLists.txt
+++ lldb/bindings/python/CMakeLists.txt
@@ -103,15 +103,15 @@
${lldb_python_target_dir}
"plugins"
FILES
- "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py"
- "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_platform.py")
+ "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_process.py"
+ "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_platform.py")
if(APPLE)
create_python_package(
${swig_target}
${lldb_python_target_dir} "macosx"
FILES "${LLDB_SOURCE_DIR}/examples/python/crashlog.py"
-
"${LLDB_SOURCE_DIR}/examples/python/scripted_process/crashlog_scripted_process.py"
+ "${LLDB_SOURCE_DIR}/examples/python/crashlog_scripted_process.py"
"${LLDB_SOURCE_DIR}/examples/darwin/heap_find/heap.py")
create_python_package(
Index: lldb/bindings/python/CMakeLists.txt
===================================================================
--- lldb/bindings/python/CMakeLists.txt
+++ lldb/bindings/python/CMakeLists.txt
@@ -103,15 +103,15 @@
${lldb_python_target_dir}
"plugins"
FILES
- "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_process.py"
- "${LLDB_SOURCE_DIR}/examples/python/scripted_process/scripted_platform.py")
+ "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_process.py"
+ "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_platform.py")
if(APPLE)
create_python_package(
${swig_target}
${lldb_python_target_dir} "macosx"
FILES "${LLDB_SOURCE_DIR}/examples/python/crashlog.py"
- "${LLDB_SOURCE_DIR}/examples/python/scripted_process/crashlog_scripted_process.py"
+ "${LLDB_SOURCE_DIR}/examples/python/crashlog_scripted_process.py"
"${LLDB_SOURCE_DIR}/examples/darwin/heap_find/heap.py")
create_python_package(
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits