mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 18:36:55 +00:00
75f1dd9b98
Summary: We now provide an abstraction of Scheduler that abstracts threading and resource management in ClangdServer. No changes to behavior are intended with an exception of changed error messages. This patch is preliminary work to allow a revamped threading implementation that will move the threading code out of CppFile. Reviewers: sammccall, bkramer, jkorous-apple Reviewed By: sammccall Subscribers: hokein, mgorny, hintonda, ioeric, jkorous-apple, cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D42174 llvm-svn: 323851
57 lines
1005 B
CMake
57 lines
1005 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_library(clangDaemon
|
|
ClangdLSPServer.cpp
|
|
ClangdServer.cpp
|
|
ClangdUnit.cpp
|
|
ClangdUnitStore.cpp
|
|
CodeComplete.cpp
|
|
CodeCompletionStrings.cpp
|
|
CompileArgsCache.cpp
|
|
Compiler.cpp
|
|
Context.cpp
|
|
DraftStore.cpp
|
|
FuzzyMatch.cpp
|
|
GlobalCompilationDatabase.cpp
|
|
JSONExpr.cpp
|
|
JSONRPCDispatcher.cpp
|
|
Logger.cpp
|
|
Protocol.cpp
|
|
ProtocolHandlers.cpp
|
|
SourceCode.cpp
|
|
Threading.cpp
|
|
Trace.cpp
|
|
TUScheduler.cpp
|
|
URI.cpp
|
|
XRefs.cpp
|
|
index/FileIndex.cpp
|
|
index/Index.cpp
|
|
index/MemIndex.cpp
|
|
index/Merge.cpp
|
|
index/SymbolCollector.cpp
|
|
index/SymbolYAML.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFormat
|
|
clangFrontend
|
|
clangIndex
|
|
clangLex
|
|
clangSema
|
|
clangSerialization
|
|
clangTooling
|
|
clangToolingCore
|
|
clangToolingRefactor
|
|
${LLVM_PTHREAD_LIB}
|
|
)
|
|
|
|
if( LLVM_LIB_FUZZING_ENGINE OR LLVM_USE_SANITIZE_COVERAGE )
|
|
add_subdirectory(fuzzer)
|
|
endif()
|
|
add_subdirectory(tool)
|
|
add_subdirectory(global-symbol-builder)
|