beanz added inline comments.

================
Comment at: cmake/modules/AddLLVM.cmake:795
 
-  llvm_codesign(${name})
+  llvm_codesign(TARGET ${name} ENTITLEMENTS ${ARG_ENTITLEMENTS} FORCE)
 endmacro(add_llvm_executable name)
----------------
sgraenitz wrote:
> Would we want to pass `FORCE` to `add_llvm_executable` conditionally?
I'm trying to think about the situations in which we need the `FORCE` option. 
Since this is connecting as a post-build event it shouldn't be running unless 
the target re-generates the output, so I'm not sure I understand why we ever 
need it.

I did the git blame walk back to when the code was initially added in 
`49dd98a03a`, and there is no explanation. I suspect debugserver doesn't 
actually need the `--force` option because the author of the initial patch 
probably hit errors when re-signing the pre-built binary in his build directory.

Thoughts?


Repository:
  rL LLVM

https://reviews.llvm.org/D54443



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to