summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-02-09 17:58:16 +0000
committerNico Weber <nicolasweber@gmx.de>2019-02-09 17:58:16 +0000
commit89a4deea96404ff2f3b3748ec8f15e0e942e004c (patch)
treebd5b5298819e616ff55e22e9f6496b373c3ffcb9 /llvm/utils
parenta2f60933e5c90bde4b383b2528ba1c142d920a01 (diff)
downloadbcm5719-llvm-89a4deea96404ff2f3b3748ec8f15e0e942e004c.tar.gz
bcm5719-llvm-89a4deea96404ff2f3b3748ec8f15e0e942e004c.zip
gn build: Merge r353590
llvm-svn: 353621
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn1
-rw-r--r--llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn5
-rw-r--r--llvm/utils/gn/secondary/clang/test/BUILD.gn2
-rw-r--r--llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn1
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn4
5 files changed, 6 insertions, 7 deletions
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
index 539083253e6..a3c0d5a0524 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
@@ -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=",
diff --git a/llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
index a9dd15c9401..745bc236935 100644
--- a/llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
@@ -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.
}
diff --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index bdaa97b2631..681b07cb860 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -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"),
diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
index 820f6312075..4d0a3a8144c 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -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.
diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
index ab5f3362f39..9a5fbd9b607 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
@@ -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" ]
}
OpenPOWER on IntegriCloud