[Lldb-commits] [lldb] [LLDB][Docs] List available settings (PR #168245)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 14 08:28:58 PDT 2026
================
@@ -6,6 +6,14 @@ lldb_tablegen(ProcessFreeBSDKernelCorePropertiesEnum.inc -gen-lldb-property-enum
SOURCE ProcessFreeBSDKernelCoreProperties.td
TARGET LLDBPluginProcessFreeBSDKernelCorePropertiesEnumGen)
+lldb_tablegen(ProcessFreeBSDKernelCoreProperties.json -dump-json
+ SOURCE ProcessFreeBSDKernelCoreProperties.td
+ TARGET LLDBPluginProcessFreeBSDKernelCorePropertiesJsonGen)
+
+if (NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ return()
----------------
JDevlieghere wrote:
As much as I like early returns, I don't remember seeing this pattern elsewhere in llvm. Unless I just missed it, I would take the indentation of wrapping the rest of the file in an if block.
https://github.com/llvm/llvm-project/pull/168245
More information about the lldb-commits
mailing list