[all-commits] [llvm/llvm-project] 0f9f95: gn build: Add support for building the standalone ...

pcc via All-commits all-commits at lists.llvm.org
Fri Sep 30 12:33:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f9f95fe9361c506c3cc9d78fb77707fdc80ca51
      https://github.com/llvm/llvm-project/commit/0f9f95fe9361c506c3cc9d78fb77707fdc80ca51
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    A llvm/utils/gn/secondary/compiler-rt/gen_version_script.gni
    M llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn

  Log Message:
  -----------
  gn build: Add support for building the standalone ubsan runtime as a shared library on non-Mac.

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


  Commit: bae0d30491c5c8ef9322e7c3b624944a4427f7d2
      https://github.com/llvm/llvm-project/commit/bae0d30491c5c8ef9322e7c3b624944a4427f7d2
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

  Log Message:
  -----------
  gn build: Move bfloat16 source files to x86-specific block.

bfloat16 is currently only supported by default on x86.

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


  Commit: 0caa9d4b1e35ed3d7a2ef42fb1ae50916312a006
      https://github.com/llvm/llvm-project/commit/0caa9d4b1e35ed3d7a2ef42fb1ae50916312a006
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/test/CodeGen/AArch64/sign-return-address.ll

  Log Message:
  -----------
  AArch64: Don't use RETA[AB] when ShadowCallStack is enabled.

When returning from a function with both SCS and PAC-RET enabled, we need to
authenticate the return address from the stack and then load from the SCS,
but this was happening in the reverse order when RETA[AB] were being used.
Fix it by disabling the use of RETA[AB] when SCS is enabled.

Fixes pr58072.

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


Compare: https://github.com/llvm/llvm-project/compare/8c5f66a3af23...0caa9d4b1e35


More information about the All-commits mailing list