User Details
- User Since
- Jan 23 2017, 5:12 AM (207 w, 4 d)
Oct 15 2020
Em qui., 15 de out. de 2020 às 07:25, Ella Ma via Phabricator <
reviews@reviews.llvm.org> escreveu:
Oct 14 2020
Hi, sorry for the delay.
Aug 25 2020
Aug 24 2020
This is actually failing on another machine I have because of the lib name. This fixes it:
----------------------- index a571d269b39..2da2f203a28 100644 @@ -57,9 +57,7 @@ endif()
LGTM!
Aug 23 2020
LGTM
Aug 22 2020
I don't mind having it for release builds as well, why are you applying it only for debug builds?
Jun 23 2020
Jun 5 2020
Do you have permission to push the patch? Otherwise, I can push it.
May 3 2020
Nice work, @steakhal!
Jan 21 2020
Update the condition to flag an issue.
Jan 20 2020
Two changes:
I can give some help here, but my time is quite limited as well :/
Hi, I just found this revision.
Apr 6 2019
Mar 27 2019
Mar 26 2019
Mar 25 2019
! In D54978#1440464, @ddcc wrote:
Do you know if this configuration builds fine now?
Mar 19 2019
Fixed.
Fix copy-and-paste error.
Mar 18 2019
Hi all,
Updated script to parse Z3's headers and changed the workflow to handle cross compilation cases.
Fixes:
- FindZ3.cmake format .
- Wrong SMTExpr namespace in SMTConstraintManager.h.
Mar 15 2019
Hi all,
Update Z3 script to use cmake's try_run in order to retrieve the version from the lib.
Feb 13 2019
Hi guys,
Update FindZ3.cmake to do a runtime check of the version.
Feb 12 2019
Looks like my last email got lost:
I found a CHECK_CXX_SOURCE_COMPILES, which seems to be used in a number of places in LLVM. I'll give it a try.
Feb 11 2019
To be clear, this patch breaks compilation with Visual Studio 2015. Running tests requires that the code can be built, so no I didn't run the tests.
Feb 10 2019
@brzycki, I can't reproduce your error. Maybe you're missing -DLLVM_ENABLE_Z3_SOLVER=OFF?
Reopening the revision as it was reverted.
Feb 8 2019
@michaelplatings, thanks for the report.
Hi everyone, I just saw your messages and reverted the commits.
Feb 6 2019
Feb 2 2019
ping
Dec 17 2018
Dec 10 2018
Updates:
- Don't abort cmake if enabling Z3 but not the CSA.
- Fixed guards in llvm/Support/SMTAPI.h
- Moved using namespace llvm; to outside the #if
Nov 30 2018
- Updated patch due to changes in D54976.
In the future, CreateZ3Solver should be renamed CreateSMTSolver to handle all backends.
Nov 27 2018
Nov 14 2018
Since we're supporting version 4.8.1 now, the cmake file should be changed to "minimum" instead of "exact".
Oct 25 2018
It doesn't make any difference in practice, for now.
Oct 24 2018
Sep 21 2018
Sep 15 2018
Hey guys, the assertion is being triggered for me (I'm using clang r342322):
$ cat ~/main.c void foo(unsigned width) { int base; int i = 0;
Aug 16 2018
Nit. Rename this something like CLANG_ANALYZER_Z3_INSTALL_PREFIX. The
description is also not very accurate
- Again this is an install prefix, just saying prefix is too vague.
- Z3 is a constraint solver, not a constraint manager.
- builds the static analyzer? I presume you mean this option being on
implies the static analyzer is built? Maybe say `Implies
CLANG_ANALYZER_BUILD_Z3`?
Prefix is the location where Z3 is installed on the machine. You can see
it's used in FindZ3.cmake:
Yeah, although the C API is considered to be fairly stable, it looks like a bunch of types have changed around recently. As of Z3 4.8.0, they've moved to stdbool.h and stdint.h, so I believe there's a couple of reinterpret_cast that can be removed from the code now. It looks like Z3_bool is also now typedef'd to a bool instead of an int. The configuration options can also be bit unstable, and my impression is that they've changed around over time.
Aug 15 2018
Add comment to the cache member
Aug 13 2018
I can't comment on the code but it works correctly for me.
Jul 31 2018
Jul 25 2018
Uhm, dunno, plist/FileCheck tests are annoying. What i usually do to make sense out of them is update the tested output with the actual output and look at git diff. From that it's usually obvious what exactly happened (warnings added, warnings removed, warnings moved to a different location, intermediate diagnostics added, intermediate diagnostics removed, intermediate diagnostics moved to a different location). Could you do that and see if it makes sense or attach the diff here so that we could have a look?
I getting the following error when analyzing test/Analysis/plist-macros.cpp, usign z3 as constraint manager (-analyzer-constraints=z3 -DANALYZER_CM_Z3):
/home/mgadelha/llvm/tools/clang/test/Analysis/plist-macros.cpp:640:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: <key>line</key><integer>36</integer> ^ /home/mgadelha/llvm/build/tools/clang/test/Analysis/Output/plist-macros.cpp.tmp.plist:562:2: note: scanning from here <key>line</key><integer>37</integer> ^
Added a comment explaining why we have a weird if condition in toAPSInt.
It fixes Xerces verification. Thanks.