[NFC] Rename LLVM_NO_DEAD_STRIP
authorDavid Tenty <daltenty@ibm.com>
Thu, 24 Oct 2019 20:18:26 +0000 (16:18 -0400)
committerDavid Tenty <daltenty@ibm.com>
Fri, 25 Oct 2019 13:32:00 +0000 (09:32 -0400)
commit11c2a85db8849db1a5907e80d9966592248ef825
treedf55591207f00a475ceb6339a352c67670a7b72b
parentbe29d9285487e1970f0ad070d79d5dfeca345f2e
[NFC] Rename LLVM_NO_DEAD_STRIP

Summary:
The variable LLVM_NO_DEAD_STRIP is set in LLVM cmake files when building executables that might make use of plugins .The name of the variable does not convey the actual intended usage (i.e. for use with tools that have plugins), just what the eventual effect of setting in on some (i.e. not garbage collecting unused symbols).

This patch renames it to LLVM_SUPPORT_PLUGINS to convey the intended usage, which will allow subsequent patches to add behavior to support that in different ways without confusion about whether it will do on, for example, non-gnu platforms.

Reviewers: hubert.reinterpretcast, stevewan

Reviewed By: stevewan

Subscribers: cfe-commits, mgorny, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D69356
clang/tools/driver/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/tools/bugpoint/CMakeLists.txt
llvm/tools/llc/CMakeLists.txt
llvm/tools/opt/CMakeLists.txt