aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-11-23 05:15:03 -1000
committerGitHub <noreply@github.com>2023-11-23 10:15:03 -0500
commit4b1fe097f9a3882f437bc3b829ef02331e28a8d6 (patch)
treeff41b2344bef86722b9c942e618a539f3f039e16 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent53578e5c854d681d4b76e311e2bbc7cbd92ad4ce (diff)
downloadllvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.zip
llvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.tar.gz
llvm-4b1fe097f9a3882f437bc3b829ef02331e28a8d6.tar.bz2
[libc++] Simplify the conditions for generating a linker script (#73151)
We really shouldn't be depending on far away configuration options like LLVM_HAVE_LINK_VERSION_SCRIPT here. This patch simplifies the enablement of the linker scripts and as a result gets rid of an undesirable dependency on HandleLLVMOptions.cmake. As a drive-by, the patch also stops taking into account whether Python3 is available. This should have no bearing on whether we generate a linker script or not, which is required for correctness. If someone tries to build libc++ and generate a linker script but Python3 is not available, they should get an error instead of silently getting an incorrect installation of the library.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions