Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 2fdf6f9

Browse files
committed
gn build: Merge r353471, r353373.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353518 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 4473e73 commit 2fdf6f9

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

utils/gn/secondary/clang/include/clang/Config/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ write_cmake_config("Config") {
2929
"CLANG_CONFIG_FILE_USER_DIR=",
3030
"DEFAULT_SYSROOT=",
3131
"GCC_INSTALL_PREFIX=",
32-
"CLANG_ANALYZER_WITH_Z3=",
3332
"BACKEND_PACKAGE_STRING=LLVM ${llvm_version}svn",
3433
"ENABLE_LINKER_BUILD_ID=",
3534
"ENABLE_X86_RELAX_RELOCATIONS=",

utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static_library("Core") {
4848
"RangeConstraintManager.cpp",
4949
"RangedConstraintManager.cpp",
5050
"RegionStore.cpp",
51+
"SMTConstraintManager.cpp",
5152
"SValBuilder.cpp",
5253
"SVals.cpp",
5354
"SarifDiagnostics.cpp",
@@ -58,9 +59,5 @@ static_library("Core") {
5859
"SymbolManager.cpp",
5960
"TaintManager.cpp",
6061
"WorkList.cpp",
61-
"Z3ConstraintManager.cpp",
6262
]
63-
64-
# FIXME: clang/Config/BUILD.gn currently always sets CLANG_ANALYZER_WITH_Z3
65-
# to false. If that changes we need to link to Z3 libs here.
6663
}

utils/gn/secondary/clang/test/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ write_lit_config("lit_site_cfg") {
3939
output = clang_lit_site_cfg_file
4040

4141
extra_values = [
42-
"CLANG_ANALYZER_WITH_Z3=", # Must be empty, not 0.
42+
"LLVM_WITH_Z3=", # Must be empty, not 0.
4343
"CLANG_BUILD_EXAMPLES=0",
4444
"CLANG_DEFAULT_CXX_STDLIB=", # Empty string means "default value" here.
4545
"CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),

utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ write_cmake_config("config") {
124124
"RETSIGTYPE=void",
125125
"LLVM_GISEL_COV_ENABLED=",
126126
"LLVM_GISEL_COV_PREFIX=",
127+
"LLVM_WITH_Z3=",
127128

128129
# This is both in llvm-config.h and config.h; llvm-config.h doesn't
129130
# define it if it's not set while config.h defines it to empty in that case.

utils/gn/secondary/llvm/lib/Support/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,14 @@ static_library("Support") {
152152
"Valgrind.cpp",
153153
"VirtualFileSystem.cpp",
154154
"Watchdog.cpp",
155+
"Z3Solver.cpp",
155156
]
156157

157158
libs = []
158159

160+
# FIXME: llvm/Config/BUILD.gn currently always sets LLVM_WITH_Z3
161+
# to false. If that changes we need to link to Z3 libs here.
162+
159163
if (current_os == "linux" || current_os == "android") {
160164
libs += [ "dl" ]
161165
}

utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ static_library("InstCombine") {
1717
sources = [
1818
"InstCombineAddSub.cpp",
1919
"InstCombineAndOrXor.cpp",
20+
"InstCombineAtomicRMW.cpp",
2021
"InstCombineCalls.cpp",
2122
"InstCombineCasts.cpp",
2223
"InstCombineCompares.cpp",

0 commit comments

Comments
 (0)