SuccessChanges

Summary

  1. [analyzer][NFC] Prepare visitors for different tracking kinds (details)
  2. [ORC] Fix clang-interpreter example code broken by r368707. (details)
  3. [analyzer] Don't delete TaintConfig copy constructor (details)
  4. [GlobalISel]: Fix lowering of G_Shuffle_vector where we pick up the (details)
  5. Fix warning: suggest braces around initialization of subobject (details)
Commit 3f7c66d551ef1210f1f48822e6bfef2e1b97881d by dkszelethus
[analyzer][NFC] Prepare visitors for different tracking kinds
When we're tracking a variable that is responsible for a null pointer
dereference or some other sinister programming error, we of course would
like to gather as much information why we think that the variable has
that specific value as possible. However, the newly introduced condition
tracking shows that tracking all values this thoroughly could easily
cause an intolerable growth in the bug report's length.
There are a variety of heuristics we discussed on the mailing list[1] to
combat this, all of them requiring to differentiate in between tracking
a "regular value" and a "condition".
This patch introduces the new `bugreporter::TrackingKind` enum, adds it
to several visitors as a non-optional argument, and moves some functions
around to make the code a little more coherent.
[1] http://lists.llvm.org/pipermail/cfe-dev/2019-June/062613.html
Differential Revision: https://reviews.llvm.org/D64270
llvm-svn: 368777
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp (diff)
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h (diff)
Commit 5ee4d7a859dc2029adb3ff5a30aaed6b0fb816af by douglas.yung
[ORC] Fix clang-interpreter example code broken by r368707.
llvm-svn: 368778
The file was modifiedclang/examples/clang-interpreter/main.cpp (diff)
Commit 21872bc9bf374db7f7f340758ac9bf262b892a53 by apl
[analyzer] Don't delete TaintConfig copy constructor
Summary: Explicitly deleting the copy constructor makes compiling the
function
`ento::registerGenericTaintChecker` difficult with some compilers. When
we construct an `llvm::Optional<TaintConfig>`, the optional is
constructed with a const TaintConfig reference which it then uses to
invoke the deleted TaintConfig copy constructor.
I've observered this failing with clang 3.8 on Ubuntu 16.04.
Reviewers: compnerd, Szelethus, boga95, NoQ, alexshap
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin,
mikhail.ramalho, donat.nagy, dkrupp, Charusso, llvm-commits, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66192
llvm-svn: 368779
The file was modifiedclang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp (diff)
Commit c65ac865c394179e4144ecd8796beb96c46d09db by aditya_nandakumar
[GlobalISel]: Fix lowering of G_Shuffle_vector where we pick up the
wrong source index
https://reviews.llvm.org/D66182
llvm-svn: 368781
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)
Commit b6946a2d1209cdf04b919d177a3c1ffd5b9fa589 by Jonas Devlieghere
Fix warning: suggest braces around initialization of subobject
This patch adds braces to the DEFINE_XMM macro.
llvm-svn: 368782
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp (diff)

Summary

  1. [LLDB] Add matrix variant (details)
Commit e215058a3cef67db9faa7253bf51283d1f4d3a16 by Jonas Devlieghere
[LLDB] Add matrix variant
llvm-svn: 368780
The file was modifiedzorg/jenkins/monorepo_build.py (diff)