aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDmitry Vasilyev <dvassiliev@accesssoftek.com>2025-05-17 00:41:25 +0400
committerGitHub <noreply@github.com>2025-05-17 00:41:25 +0400
commit4a4f0ffb5ba62428559f9d8d6f788505d350834f (patch)
treeca744f29b9e1c07f14318f17b6ed4f47dda4edb7 /clang/lib/Frontend/CompilerInvocation.cpp
parent3def9976ebeb1dec7fb867a927f3e2e4adf1816b (diff)
downloadllvm-4a4f0ffb5ba62428559f9d8d6f788505d350834f.zip
llvm-4a4f0ffb5ba62428559f9d8d6f788505d350834f.tar.gz
llvm-4a4f0ffb5ba62428559f9d8d6f788505d350834f.tar.bz2
Fixed cmake config in case of LLVM_ENABLE_RPMALLOC=ON and non MSVC compiler (#139770)
This patch fixes the following error in case of LLVM_ENABLE_RPMALLOC=ON and clang or other non MSVC compiler: ``` CMake Error at cmake/modules/AddLLVM.cmake:644 (add_library): Target "LLVMSupport" links to item " -INCLUDE:malloc" which has leading or trailing whitespace. This is now an error according to policy CMP0004. Call Stack (most recent call first): cmake/modules/AddLLVM.cmake:944 (llvm_add_library) cmake/modules/AddLLVM.cmake:917 (add_llvm_library) lib/Support/CMakeLists.txt:139 (add_llvm_component_library) ``` Note `delayload_flags` is empty before this line is case of non MSVC compiler. The behavior is the same with CMake 3.25.3 and 4.0.2.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions