[PATCH] D82585: [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library

Raphael Isemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 12:54:12 PDT 2020


teemperor added a comment.

This broke the Green Dragon build for Clang: http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/

  FAILED: bin/diagtool 
  : && /Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang++  -Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o  -o bin/diagtool  -Wl,-rpath, at loader_path/../lib  lib/libLLVMSupport.a  lib/libclangBasic.a  lib/libclangFrontend.a  lib/libclangDriver.a  lib/libclangParse.a  lib/libclangSerialization.a  lib/libclangSema.a  lib/libclangEdit.a  lib/libclangAnalysis.a  lib/libclangASTMatchers.a  lib/libclangAST.a  lib/libclangLex.a  lib/libclangBasic.a  lib/libLLVMFrontendOpenMP.a  lib/libLLVMTransformUtils.a  lib/libLLVMAnalysis.a  lib/libLLVMObject.a  lib/libLLVMMCParser.a  lib/libLLVMMC.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMDebugInfoMSF.a  lib/libLLVMTextAPI.a  lib/libLLVMBitReader.a  lib/libLLVMOption.a  lib/libLLVMProfileData.a  lib/libLLVMCore.a  lib/libLLVMBinaryFormat.a  lib/libLLVMRemarks.a  lib/libLLVMBitstreamReader.a  lib/libLLVMSupport.a  -lz  -lcurses  -lm  lib/libLLVMDemangle.a && :
  Undefined symbols for architecture x86_64:
    "clang::ento::PackageInfo::dumpToStream(llvm::raw_ostream&) const", referenced from:
        clang::ento::PackageInfo::dump() const in ShowEnabledWarnings.cpp.o
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(CompilerInstance.cpp.o)
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(CompilerInvocation.cpp.o)
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(CreateInvocationFromCommandLine.cpp.o)
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(TextDiagnosticBuffer.cpp.o)
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(FrontendAction.cpp.o)
        clang::ento::PackageInfo::dump() const in libclangFrontend.a(FrontendOptions.cpp.o)
        ...
    "clang::ento::CmdLineOption::dumpToStream(llvm::raw_ostream&) const", referenced from:
        clang::ento::CmdLineOption::dump() const in ShowEnabledWarnings.cpp.o
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(CompilerInstance.cpp.o)
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(CompilerInvocation.cpp.o)
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(CreateInvocationFromCommandLine.cpp.o)
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(TextDiagnosticBuffer.cpp.o)
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(FrontendAction.cpp.o)
        clang::ento::CmdLineOption::dump() const in libclangFrontend.a(FrontendOptions.cpp.o)
        ...
    "clang::ento::CheckerInfo::dumpToStream(llvm::raw_ostream&) const", referenced from:
        clang::ento::CheckerInfo::dump() const in ShowEnabledWarnings.cpp.o
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(CompilerInstance.cpp.o)
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(CompilerInvocation.cpp.o)
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(CreateInvocationFromCommandLine.cpp.o)
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(TextDiagnosticBuffer.cpp.o)
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(FrontendAction.cpp.o)
        clang::ento::CheckerInfo::dump() const in libclangFrontend.a(FrontendOptions.cpp.o)
        ...
  ld: symbol(s) not found for architecture x86_64


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82585/new/

https://reviews.llvm.org/D82585





More information about the cfe-commits mailing list