[clang] [lldb] [llvm] [cmake] Build executables with -no_exported_symbols when building Apple toolchain (PR #87684)

Jonas Devlieghere via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 5 11:34:30 PDT 2024


================
@@ -673,6 +673,9 @@ option(LLVM_USE_OPROFILE
 option(LLVM_EXTERNALIZE_DEBUGINFO
   "Generate dSYM files and strip executables and libraries (Darwin Only)" OFF)
 
+option(LLVM_ENABLE_EXPORTED_SYMBOLS
----------------
JDevlieghere wrote:

@delcypher I was referring to the tools in `/llvm-project/llvm/tools`, which use `add_llvm_tool_subdirectory` and `add_llvm_tool` but maybe the distinction is more murky than I think it is. I'm also fine with `EXECUTABLE` in the name 👍

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


More information about the cfe-commits mailing list