Closed MaggieYingYi closed 3 years ago
To reproduce the build error, target on all targets:
$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;pstore" -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF ../llvm $ ninja
Got a build error:
/home/maggie/github/llvm-project-prepo/llvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp:119:12: error: no declaration matches ‘llvm::MCSection* llvm::LanaiTargetObjectFile::getSectionForConstant(const llvm::DataLayout&, llvm::SectionKind, const llvm::Constant*, const llvm::GlobalObject*, llvm::Align&) const’ 119 | MCSection *LanaiTargetObjectFile::getSectionForConstant(
When running the lit tests, a test failed with the following error:
$ ninja check-all LLVM :: tools/repo-fragments/tool-options-test.ll Error: NOT command not found
To reproduce the build error, target on all targets:
Got a build error:
When running the lit tests, a test failed with the following error: