[PATCH] D100919: [AArch64] Support customizing stack protector guard

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 17:02:26 PDT 2021


nickdesaulniers updated this revision to Diff 345587.
nickdesaulniers added a comment.
Herald added a subscriber: dang.

- support up to +/- 4096 non-multiples of 8. We could get crazy with psuedo instructions and register scavenging, but this is really overkill; the very first case of positive multiple's of 8 < 32670 will be 99% of the kernel's use case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100919/new/

https://reviews.llvm.org/D100919

Files:
  clang/include/clang/Basic/CodeGenOptions.h
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/stack-protector-guard.c
  llvm/include/llvm/Target/TargetOptions.h
  llvm/lib/CodeGen/CommandFlags.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/test/CodeGen/AArch64/stack-guard-sysreg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100919.345587.patch
Type: text/x-patch
Size: 15678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210515/41030cc6/attachment-0001.bin>


More information about the cfe-commits mailing list