[Lldb-commits] [PATCH] D54444: [CMake] Use extended llvm_codesign to pass entitlements for lldb-server

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 12 13:16:42 PST 2018


sgraenitz added a comment.

`debugserver` was not that simple. For now only `lldb-server` as an example.



================
Comment at: cmake/modules/AddLLDB.cmake:109
   list(APPEND LLVM_LINK_COMPONENTS ${ARG_LINK_COMPONENTS})
-  add_llvm_executable(${name} ${ARG_UNPARSED_ARGUMENTS})
+  add_llvm_executable(${name} ${ARG_UNPARSED_ARGUMENTS} ENTITLEMENTS ${ARG_ENTITLEMENTS})
 
----------------
I am parsing `ENTITLEMENTS` above and passing it on here explicitly. Had expected it to be passed along with `ARG_UNPARSED_ARGUMENTS` otherwise, but for some reason that didn't work. Is that the expected behaviour?


https://reviews.llvm.org/D54444





More information about the lldb-commits mailing list