[Lldb-commits] [lldb] [lldb/Commands] Add `scripting template list` command with auto discovery (PR #97273)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 2 12:45:59 PDT 2024


================
@@ -29,6 +29,9 @@ add_subdirectory(UnwindAssembly)
 
 set(LLDB_STRIPPED_PLUGINS)
 get_property(LLDB_ALL_PLUGINS GLOBAL PROPERTY LLDB_PLUGINS)
+get_property(LLDB_EXTRA_PLUGINS GLOBAL PROPERTY LLDB_EXTRA_SCRIPT_PLUGINS)
+list(APPEND LLDB_ALL_PLUGINS ${LLDB_EXTRA_PLUGINS})
----------------
bulbazord wrote:

I don't think there's a benefit to splitting the plugins into two different global properties. Is there a reason why we should treat these script plugins differently? 

Also I see you doing that for the python plugins below, how about the Lua ones?

https://github.com/llvm/llvm-project/pull/97273


More information about the lldb-commits mailing list