Llvm编译报错

大佬给看看
Ld Debug/cmTC_0f039 normal x86_64
cd /Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/Debug -F/Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/Debug -filelist /Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0f039.build/Objects-normal/x86_64/cmTC_0f039.LinkFileList -mmacosx-version-min=10.14 -Xlinker -object_path_lto -Xlinker /Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0f039.build/Objects-normal/x86_64/cmTC_0f039_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lm -Xlinker -dependency_info -Xlinker /Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_0f039.build/Objects-normal/x86_64/cmTC_0f039_dependency_info.dat -o /Users/huang_jaye/Desktop/LLVM/llvm_xcode/CMakeFiles/CMakeTmp/Debug/cmTC_0f039
Undefined symbols for architecture x86_64:
“_llvm_gcda_emit_arcs”, referenced from:
___llvm_gcov_writeout in src.o
“_llvm_gcda_emit_function”, referenced from:
___llvm_gcov_writeout in src.o
“_llvm_gcda_end_file”, referenced from:
___llvm_gcov_writeout in src.o
“_llvm_gcda_start_file”, referenced from:
___llvm_gcov_writeout in src.o
“_llvm_gcda_summary_info”, referenced from:
___llvm_gcov_writeout in src.o
“_llvm_gcov_init”, referenced from:
___llvm_gcov_init in src.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

The following build commands failed:
Ld Debug/cmTC_0f039 normal x86_64
(1 failure)

正经LLVM开发者一般不用Xcode,剩下的具体看你编译的哪个target

大佬,用啥,非专业llvm开发

非专业直接用官方的Release版本就好了啊

我是想简单撸点clang 插件 试试 :sob: