This repository was archived by the owner on Mar 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ write_cmake_config("Config") {
29
29
" CLANG_CONFIG_FILE_USER_DIR=" ,
30
30
" DEFAULT_SYSROOT=" ,
31
31
" GCC_INSTALL_PREFIX=" ,
32
- " CLANG_ANALYZER_WITH_Z3=" ,
33
32
" BACKEND_PACKAGE_STRING=LLVM ${ llvm_version } svn" ,
34
33
" ENABLE_LINKER_BUILD_ID=" ,
35
34
" ENABLE_X86_RELAX_RELOCATIONS=" ,
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ static_library("Core") {
48
48
" RangeConstraintManager.cpp" ,
49
49
" RangedConstraintManager.cpp" ,
50
50
" RegionStore.cpp" ,
51
+ " SMTConstraintManager.cpp" ,
51
52
" SValBuilder.cpp" ,
52
53
" SVals.cpp" ,
53
54
" SarifDiagnostics.cpp" ,
@@ -58,9 +59,5 @@ static_library("Core") {
58
59
" SymbolManager.cpp" ,
59
60
" TaintManager.cpp" ,
60
61
" WorkList.cpp" ,
61
- " Z3ConstraintManager.cpp" ,
62
62
]
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.
66
63
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ write_lit_config("lit_site_cfg") {
39
39
output = clang_lit_site_cfg_file
40
40
41
41
extra_values = [
42
- " CLANG_ANALYZER_WITH_Z3 =" , # Must be empty, not 0.
42
+ " LLVM_WITH_Z3 =" , # Must be empty, not 0.
43
43
" CLANG_BUILD_EXAMPLES=0" ,
44
44
" CLANG_DEFAULT_CXX_STDLIB=" , # Empty string means "default value" here.
45
45
" CLANG_TOOLS_DIR=" + rebase_path (" $root_out_dir /bin" ),
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ write_cmake_config("config") {
124
124
" RETSIGTYPE=void" ,
125
125
" LLVM_GISEL_COV_ENABLED=" ,
126
126
" LLVM_GISEL_COV_PREFIX=" ,
127
+ " LLVM_WITH_Z3=" ,
127
128
128
129
# This is both in llvm-config.h and config.h; llvm-config.h doesn't
129
130
# define it if it's not set while config.h defines it to empty in that case.
Original file line number Diff line number Diff line change @@ -152,10 +152,14 @@ static_library("Support") {
152
152
" Valgrind.cpp" ,
153
153
" VirtualFileSystem.cpp" ,
154
154
" Watchdog.cpp" ,
155
+ " Z3Solver.cpp" ,
155
156
]
156
157
157
158
libs = []
158
159
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
+
159
163
if (current_os == " linux" || current_os == " android" ) {
160
164
libs += [ " dl" ]
161
165
}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ static_library("InstCombine") {
17
17
sources = [
18
18
" InstCombineAddSub.cpp" ,
19
19
" InstCombineAndOrXor.cpp" ,
20
+ " InstCombineAtomicRMW.cpp" ,
20
21
" InstCombineCalls.cpp" ,
21
22
" InstCombineCasts.cpp" ,
22
23
" InstCombineCompares.cpp" ,
You can’t perform that action at this time.
0 commit comments