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

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 4 14:23:45 PDT 2024


jimingham wrote:

lldb can and does present its external symbol interface through LLDB.framework.  I can't see any reason why it would also need to export symbols from the executable.  The lldb driver is just a fairly small convenience wrapper around the API's from LLDB.framework, its job is to handle command-line arguments and start up a debugger from LLDB.framework.

Jim 

> On Apr 4, 2024, at 2:01 PM, Dave Lee ***@***.***> wrote:
> 
> 
> Thanks for adding this! I've been using CMAKE_EXE_LINKER_FLAGS to -Wl,-no_exported_symbols, and have had no problems.
> 
>> Reply to this email directly, view it on GitHub <https://github.com/llvm/llvm-project/pull/87684#issuecomment-2038212285>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADUPVW6PW52D5UQZQTR74RLY3W5TXAVCNFSM6AAAAABFX3E7YSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGIYTEMRYGU>.
> You are receiving this because you are on a team that was mentioned.
> 



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


More information about the lldb-commits mailing list