freebsd-dev/contrib/llvm-project
Dimitry Andric 1b3bef43e3 Apply llvm fix for assertion compiling certain versions of Wine
Merge commit b9ca73e1a8fd from llvm git (by Stephen Tozer):

  [DebugInfo] Correctly handle arrays with 0-width elements in GEP salvaging

  Fixes an issue where GEP salvaging did not properly account for GEP
  instructions which stepped over array elements of width 0 (effectively a
  no-op). This unnecessarily produced long expressions by appending
  `... + (x * 0)` and potentially extended the number of SSA values used
  in the dbg.value. This also erroneously triggered an assert in the
  salvage function that the element width would be strictly positive.
  These issues are resolved by simply ignoring these useless operands.

  Reviewed By: aprantl

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

PR:		262608
Reported by:	Damjan Jovanovic <damjan.jov@gmail.com>
MFC after:	3 days
2022-03-19 20:59:04 +01:00
..
clang Apply clang fix for assertion failure compiling science/chrono 2022-01-30 21:41:37 +01:00
compiler-rt riscv: actually enable sanitizers 2022-03-13 13:06:57 +01:00
libcxx Merge llvm-project release/13.x llvmorg-13.0.0-rc2-43-gf56129fe78d5 2021-11-13 21:45:49 +01:00
libunwind Merge llvm-project release/13.x llvmorg-13.0.0-rc2-43-gf56129fe78d5 2021-11-13 21:45:49 +01:00
lld Apply lld fixes for internal errors building perl on 32-bit PowerPC 2022-02-27 13:53:19 +01:00
lldb Merge llvm-project release/13.x llvmorg-13.0.0-rc3-8-g08642a395f23 2021-11-13 21:46:08 +01:00
llvm Apply llvm fix for assertion compiling certain versions of Wine 2022-03-19 20:59:04 +01:00
openmp Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a 2021-11-13 21:42:03 +01:00
FREEBSD-Xlist Belatedly update contrib/llvm-project/FREEBSD-Xlist for llvm 13 2021-11-20 18:06:36 +01:00