[PATCH] D112768: [ARM] implement support for TLS register based stack protector
Ard Biesheuvel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 29 09:29:16 PDT 2021
ardb updated this revision to Diff 383390.
ardb edited the summary of this revision.
ardb added a comment.
- split off LOAD_STACK_GUARD conversion
- deal with guard offsets >= 4096 bytes
- reject offsets < 0 or >= 1 MiB
- add backend test to check that the MRC/LDR sequence is emitted twice
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112768/new/
https://reviews.llvm.org/D112768
Files:
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/stack-protector-guard.c
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMInstrInfo.cpp
llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
llvm/test/CodeGen/ARM/stack-guard-tls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112768.383390.patch
Type: text/x-patch
Size: 11002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211029/77adee6a/attachment-0001.bin>
More information about the cfe-commits
mailing list