this allows us to move logic about when it is appropriate set
LLVM_NO_DEAD_STRIP out of each tool and into add_llvm_executable,
which will enable future platform specific handling.
This is a follow on to the reverted D69356
Paths
| Differential D69638
[NFC] Add SUPPORT_PLUGINS to add_llvm_executable() ClosedPublic Authored by daltenty on Oct 30 2019, 1:30 PM.
Details Summary this allows us to move logic about when it is appropriate set This is a follow on to the reverted D69356
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 30 2019, 1:30 PM Comment Actions A few comments inline.
This revision is now accepted and ready to land.Nov 1 2019, 2:57 PM Closed by commit rG6740a88dc18d: [NFC] Add SUPPORT_PLUGINS to add_llvm_executable() (authored by daltenty). · Explain WhyNov 6 2019, 11:33 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 228112 clang/tools/driver/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
llvm/tools/bugpoint/CMakeLists.txt
llvm/tools/llc/CMakeLists.txt
llvm/tools/opt/CMakeLists.txt
|
This is now a behavior change because you're always passing this.
You'll want to bring back the conditional statement with a body like:
Then instead of passing SUPPORT_PLUGINS here you pass ${support_plugins}