[all-commits] [llvm/llvm-project] 087082: [cmake] Increase -fms-compatibility-version in Win...

Yi Kong via All-commits all-commits at lists.llvm.org
Wed May 18 20:12:03 PDT 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 087082a828ffc833ec5b54caadd5ba86af811dae
      https://github.com/llvm/llvm-project/commit/087082a828ffc833ec5b54caadd5ba86af811dae
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M llvm/cmake/platforms/WinMsvc.cmake

  Log Message:
  -----------
  [cmake] Increase -fms-compatibility-version in Windows toolchain file

Make it match LLVM's new minimum requirement (after https://reviews.llvm.org/D114639).

(cherry picked from commit 4db89e23190d1d1590d88df08056d327e651c94c)


  Commit: 9827a185b611b33b7735458e024eab7a0646bc40
      https://github.com/llvm/llvm-project/commit/9827a185b611b33b7735458e024eab7a0646bc40
  Author: Brad Smith <brad at comstyle.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Ananas.cpp
    M clang/test/Driver/ananas.c

  Log Message:
  -----------
  [Driver][Ananas] -r: imply -nostdlib like GCC

Similar to D116843 for Gnu.cpp

Reviewed By: zhmu, MaskRay

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

(cherry picked from commit a132e527f25164268e08ebc63b043bbce8a043ed)


  Commit: cda300eab8ddb9fb90859014ec3721567fec727c
      https://github.com/llvm/llvm-project/commit/cda300eab8ddb9fb90859014ec3721567fec727c
  Author: Brad Smith <brad at comstyle.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/test/Driver/solaris-ld.c

  Log Message:
  -----------
  [Driver][Solaris] -r: imply -nostdlib like GCC

Similar to D116843 for Gnu.cpp

Reviewed By: MaskRay

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

(cherry picked from commit 3d7da810e4a6e1ade2c0d649f17f8aa820248765)


  Commit: c65b0cd2421d722d3f2b1eb78dd91d758db5049a
      https://github.com/llvm/llvm-project/commit/c65b0cd2421d722d3f2b1eb78dd91d758db5049a
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-stack-protector-windows.ll

  Log Message:
  -----------
  [GlobalIsel] Fix fallback if stack protector isn't supported.

When GlobalISel fails, we need to report the error, and we need to set
the FailedISel property.  We skipped those steps if stack protector
insertion failed, which led to a very strange miscompile.

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

(cherry picked from commit 96c2a0c9fff24803be14bfaa579e4f230763d3cc)


  Commit: daef3113e81920dcca89d068737ad1c04d79f0d1
      https://github.com/llvm/llvm-project/commit/daef3113e81920dcca89d068737ad1c04d79f0d1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_rtl_s390x.S

  Log Message:
  -----------
  [compiler-rt] Add NO_EXEC_STACK_DIRECTIVE on s390x

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

(cherry picked from commit 791e0d1bc85d1963abddb96cadcdf201c43a029f)


  Commit: d6319246f89b2f47c9176e23be3fbe23c7c7d2c4
      https://github.com/llvm/llvm-project/commit/d6319246f89b2f47c9176e23be3fbe23c7c7d2c4
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M clang/lib/CodeGen/CGExprCXX.cpp
    A clang/test/CodeGenCXX/pr54845.cpp

  Log Message:
  -----------
  [CodeGen] Use ABI alignment for C++ new expressions

In case of placement new, if we do not know the alignment of the
operand, we can't assume it has the preferred alignment. It might be
e.g. a pointer to a struct member which follows ABI alignment rules.

This makes UBSAN no longer report "constructor call on misaligned
address" when constructing a double into a struct field of type double
on i686. The psABI specifies an alignment of 4 bytes, but the preferred
alignment used by Clang is 8 bytes.

We now use ABI alignment for allocating new as well, as the preferred
alignment should be used for over-aligning e.g. local variables, which
isn't relevant for ABI code dealing with operator new. AFAICT there
wouldn't be problems either way though.

Fixes #54845.

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

(cherry picked from commit 93a8225da1f983cccb3e4b5e762369121aaa7dd5)


  Commit: 7a42b2fd5be3f4141bd0db3c5efa2ebb74ef658d
      https://github.com/llvm/llvm-project/commit/7a42b2fd5be3f4141bd0db3c5efa2ebb74ef658d
  Author: Yi Kong <yikong at google.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M bolt/tools/merge-fdata/merge-fdata.cpp

  Log Message:
  -----------
  [BOLT] Compact legacy profiles

Merging multiple legacy profiles (produced by instrumentation BOLT) can
easily reach GiBs. Let merge-fdata compact the profiles during merge to
significantly reduce space usage.

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

(cherry picked from commit 7d7771f34d14e0108adf02a6fd0b33943afae3da)


Compare: https://github.com/llvm/llvm-project/compare/c56415735060...7a42b2fd5be3


More information about the All-commits mailing list