[Lldb-commits] [PATCH] D81300: Enable -DLLDB_ENERGY when compiling against an internal SDK

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 10 14:28:50 PDT 2020


aprantl marked an inline comment as done.
aprantl added inline comments.


================
Comment at: lldb/tools/debugserver/source/CMakeLists.txt:132
 
+if($ENV{SDKROOT} MATCHES ".Internal.sdk$")
+  message(STATUS "LLDB debugserver energy support is enabled")
----------------
JDevlieghere wrote:
> I guess this should be guarded by `if(APPLE)`? 
The whole directory is already guarded by this:
```
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
  add_lldb_tool_subdirectory(darwin-debug)
  if(NOT LLDB_USE_SYSTEM_DEBUGSERVER)
    add_lldb_tool_subdirectory(debugserver)
  endif()
endif()
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81300/new/

https://reviews.llvm.org/D81300





More information about the lldb-commits mailing list