[all-commits] [llvm/llvm-project] 84fdd9: [X86] Fix prolog/epilog mismatch for stack protect...

AE via All-commits all-commits at lists.llvm.org
Fri Dec 6 14:45:12 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84fdd9d7a50b9b41148e5ae8b93bfc4d2613feea
      https://github.com/llvm/llvm-project/commit/84fdd9d7a50b9b41148e5ae8b93bfc4d2613feea
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/stack-protector-strong-macho-win32-xor.ll

  Log Message:
  -----------
  [X86] Fix prolog/epilog mismatch for stack protectors on win32-macho.

The xor'ing behaviour is only used for msvc/crt environments, when we're targeting
macho the guard load code doesn't know about the xor in the epilog. Disable xor'ing
when targeting win32-macho to be consistent.

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




More information about the All-commits mailing list