[all-commits] [llvm/llvm-project] 78a570: [CodeGen] Restore accessing __stack_chk_guard via ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Dec 7 00:10:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78a57069b53a08d5aef98a8472fcfa73dbbc8771
      https://github.com/llvm/llvm-project/commit/78a57069b53a08d5aef98a8472fcfa73dbbc8771
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    A llvm/test/CodeGen/ARM/win32-ssp.ll
    M llvm/test/CodeGen/X86/win32-ssp.ll

  Log Message:
  -----------
  [CodeGen] Restore accessing __stack_chk_guard via a .refptr stub on mingw after 2518433f861fcb87

Add tests for this particular detail for x86 and arm (similar tests
already existed for x86_64 and aarch64).

The libssp implementation may be located in a separate DLL, and in
those cases, the references need to be in a .refptr stub, to avoid
needing to touch up code in the text section at runtime (which is
supported but inefficient for x86, and unsupported for arm).

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




More information about the All-commits mailing list