forked from OSchip/llvm-project
Fix clangd-fuzzer build
r357102 made clangd-fuzzer no longer compile, but before r357654 / r357694 we didn't notice. Fix the compile. Also add a dep on FuzzMutate which I forgot to do in r357654. llvm-svn: 357696
This commit is contained in:
parent
00e7ae9f80
commit
b28b4c9036
|
@ -1,6 +1,9 @@
|
|||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS support)
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
# This fuzzer runs on oss-fuzz, so keep it around even if it looks unreferenced.
|
||||
add_llvm_fuzzer(clangd-fuzzer
|
||||
|
|
|
@ -36,7 +36,8 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
|
|||
ClangdServer::Options Opts;
|
||||
|
||||
// Initialize and run ClangdLSPServer.
|
||||
ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false, Opts);
|
||||
ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false,
|
||||
llvm::None, Opts);
|
||||
LSPServer.run();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue