[llvm] r353621 - gn build: Merge r353590

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 9 09:58:16 PST 2019


Author: nico
Date: Sat Feb  9 09:58:16 2019
New Revision: 353621

URL: http://llvm.org/viewvc/llvm-project?rev=353621&view=rev
Log:
gn build: Merge r353590

Modified:
    llvm/trunk/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
    llvm/trunk/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
    llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn
    llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
    llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/include/clang/Config/BUILD.gn?rev=353621&r1=353620&r2=353621&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/include/clang/Config/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/include/clang/Config/BUILD.gn Sat Feb  9 09:58:16 2019
@@ -29,6 +29,7 @@ write_cmake_config("Config") {
     "CLANG_CONFIG_FILE_USER_DIR=",
     "DEFAULT_SYSROOT=",
     "GCC_INSTALL_PREFIX=",
+    "CLANG_ANALYZER_WITH_Z3=",
     "BACKEND_PACKAGE_STRING=LLVM ${llvm_version}svn",
     "ENABLE_LINKER_BUILD_ID=",
     "ENABLE_X86_RELAX_RELOCATIONS=",

Modified: llvm/trunk/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn?rev=353621&r1=353620&r2=353621&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn Sat Feb  9 09:58:16 2019
@@ -48,7 +48,6 @@ static_library("Core") {
     "RangeConstraintManager.cpp",
     "RangedConstraintManager.cpp",
     "RegionStore.cpp",
-    "SMTConstraintManager.cpp",
     "SValBuilder.cpp",
     "SVals.cpp",
     "SarifDiagnostics.cpp",
@@ -59,5 +58,9 @@ static_library("Core") {
     "SymbolManager.cpp",
     "TaintManager.cpp",
     "WorkList.cpp",
+    "Z3ConstraintManager.cpp",
   ]
+
+  # FIXME: clang/Config/BUILD.gn currently always sets CLANG_ANALYZER_WITH_Z3
+  # to false. If that changes we need to link to Z3 libs here.
 }

Modified: llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn?rev=353621&r1=353620&r2=353621&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/test/BUILD.gn Sat Feb  9 09:58:16 2019
@@ -39,7 +39,7 @@ write_lit_config("lit_site_cfg") {
   output = clang_lit_site_cfg_file
 
   extra_values = [
-    "LLVM_WITH_Z3=",  # Must be empty, not 0.
+    "CLANG_ANALYZER_WITH_Z3=",  # Must be empty, not 0.
     "CLANG_BUILD_EXAMPLES=0",
     "CLANG_DEFAULT_CXX_STDLIB=",  # Empty string means "default value" here.
     "CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),

Modified: llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn?rev=353621&r1=353620&r2=353621&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn Sat Feb  9 09:58:16 2019
@@ -124,7 +124,6 @@ write_cmake_config("config") {
     "RETSIGTYPE=void",
     "LLVM_GISEL_COV_ENABLED=",
     "LLVM_GISEL_COV_PREFIX=",
-    "LLVM_WITH_Z3=",
 
     # This is both in llvm-config.h and config.h; llvm-config.h doesn't
     # define it if it's not set while config.h defines it to empty in that case.

Modified: llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn?rev=353621&r1=353620&r2=353621&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn Sat Feb  9 09:58:16 2019
@@ -152,14 +152,10 @@ static_library("Support") {
     "Valgrind.cpp",
     "VirtualFileSystem.cpp",
     "Watchdog.cpp",
-    "Z3Solver.cpp",
   ]
 
   libs = []
 
-  # FIXME: llvm/Config/BUILD.gn currently always sets LLVM_WITH_Z3
-  # to false. If that changes we need to link to Z3 libs here.
-
   if (current_os == "linux" || current_os == "android") {
     libs += [ "dl" ]
   }




More information about the llvm-commits mailing list