[PATCH] D112768: [ARM] implement support for TLS register based stack protector
Ard Biesheuvel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 08:35:57 PDT 2021
ardb updated this revision to Diff 384116.
ardb added a comment.
- add diagnostics to the frontend and asserts to the backend to ensure that the TLS stack protector is only used on target subarchs that implement the hardware TLS register to begin with
- ensure that the offset parameter is not omitted, as the default is INT_MAX which is out of bounds
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112768/new/
https://reviews.llvm.org/D112768
Files:
clang/include/clang/Basic/DiagnosticCommonKinds.td
clang/include/clang/Basic/DiagnosticDriverKinds.td
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/Thumb1InstrInfo.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.384116.patch
Type: text/x-patch
Size: 14160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/f8436e15/attachment.bin>
More information about the llvm-commits
mailing list