[all-commits] [llvm/llvm-project] 5b3f41: [analyzer][NFC] Workaround miscompilation on recen...

Ding Fei via All-commits all-commits at lists.llvm.org
Wed Aug 30 02:15:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b3f41c55d9261dcb682d60a4258fa2c30fd50c8
      https://github.com/llvm/llvm-project/commit/5b3f41c55d9261dcb682d60a4258fa2c30fd50c8
  Author: dingfei <fding at feysh.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp

  Log Message:
  -----------
  [analyzer][NFC] Workaround miscompilation on recent MSVC

SVal argument 'Cond' passed in is corrupted in release mode with
exception handling enabled (result in an UndefinedSVal), or changing
lambda capture inside the callee can workaround this.

Known problematic VS Versions:
- VS 2022 17.4.4
- VS 2022 17.5.4
- VS 2022 17.7.2

Verified working VS Version:
- VS 2019 16.11.25

Fixes https://github.com/llvm/llvm-project/issues/62130

Reviewed By: steakhal

Differential Revision: https://reviews.llvm.org/D159163




More information about the All-commits mailing list