[all-commits] [llvm/llvm-project] 76817a: Merging r373219:

Paul T Robinson via All-commits all-commits at lists.llvm.org
Thu Nov 21 15:59:09 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 76817ab1e1043d269f415928fabd3f4a533b7e83
      https://github.com/llvm/llvm-project/commit/76817ab1e1043d269f415928fabd3f4a533b7e83
  Author: Paul Robinson <paul.robinson at sony.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/StackProtector.cpp

  Log Message:
  -----------
  Merging r373219:

------------------------------------------------------------------------
r373219 | probinson | 2019-09-30 08:08:38 -0700 (Mon, 30 Sep 2019) | 3 lines

[SSP] [2/3] Refactor an if/dyn_cast chain to switch on opcode. NFC

Differential Revision: https://reviews.llvm.org/D67844
------------------------------------------------------------------------


  Commit: 28c1f51f14ff62f2b8ad05bd363718c2c2aef29e
      https://github.com/llvm/llvm-project/commit/28c1f51f14ff62f2b8ad05bd363718c2c2aef29e
  Author: Paul Robinson <paul.robinson at sony.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/StackProtector.cpp
    A llvm/test/CodeGen/X86/stack-protector-2.ll

  Log Message:
  -----------
  Merging r373220:

------------------------------------------------------------------------
r373220 | probinson | 2019-09-30 08:11:23 -0700 (Mon, 30 Sep 2019) | 12 lines

[SSP] [3/3] cmpxchg and addrspacecast instructions can now
trigger stack protectors.  Fixes PR42238.

Add test coverage for llvm.memset, as proxy for all llvm.mem*
intrinsics. There are two issues here: (1) they could be lowered to a
libc call, which could be intercepted, and do Bad Stuff; (2) with a
non-constant size, they could overwrite the current stack frame.

The test was mostly written by Matt Arsenault in r363169, which was
later reverted; I tweaked what he had and added the llvm.memset part.

Differential Revision: https://reviews.llvm.org/D67845
------------------------------------------------------------------------


Compare: https://github.com/llvm/llvm-project/compare/c1d76f45b497...28c1f51f14ff


More information about the All-commits mailing list