Devin Coughlin

Results comments of Devin Coughlin

mentioned in issue llvm/llvm-bugzilla-archive#25420

*** Bug llvm/llvm-bugzilla-archive#25420 has been marked as a duplicate of this bug. ***

r253157 should fix this. The issue was that even when a reference type was captured by copy, we were still referring to the original captured variable (rather than the field...

I'm not able to reproduce this on OS X. Do you have a stack trace or the stderr output? (These should be in the "failures" subdirectory in the results directory...

Here is a reduced reproducer: int strcmp(const char *s1, const char *s2); void bar(char **a) { strcmp("Hi", *a); } union argument { char *f; }; void foo(union argument a) {...

I get an assertion failure when running the attached with: ./build/clang-ninja/bin/clang -cc1 -analyze -analyzer-checker=core,unix ~/Downloads/clang_crash_UnNL1U.i Assertion failed: (op == BO_Add), function evalBinOp, file /Volumes/Data/Clangs/OpenSourceGit/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp, line 363. 0 clang 0x000000010984a0bb llvm::sys::PrintStackTrace(llvm::raw_ostream&)...

This reproduces most of the time (but not always) for me with: ../build/clang-ninja-release/bin/clang++ -cc1 -analyze -analyzer-checker=core,debug.Stats -std=c++11 -fcxx-exceptions /Users/dcoughlin/Downloads/clang_crash_kcSjtR.ii Interestingly, it doesn't seem to manifest at all with a clang...