[all-commits] [llvm/llvm-project] 801ab7: [ARM][AArch64] SLSHardening: make non-comdat thunk...
Dani via All-commits
all-commits at lists.llvm.org
Thu May 20 08:07:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 801ab71032e157eb7bcd38efeb6486742a7c53bb
https://github.com/llvm/llvm-project/commit/801ab71032e157eb7bcd38efeb6486742a7c53bb
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2021-05-20 (Thu, 20 May 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/test/Driver/sls-hardening-options.c
M llvm/include/llvm/CodeGen/IndirectThunks.h
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/ARM/ARM.td
M llvm/lib/Target/ARM/ARMSLSHardening.cpp
M llvm/lib/Target/ARM/ARMSubtarget.h
M llvm/test/CodeGen/AArch64/speculation-hardening-sls.ll
M llvm/test/CodeGen/ARM/speculation-hardening-sls.ll
Log Message:
-----------
[ARM][AArch64] SLSHardening: make non-comdat thunks possible
Linker scripts might not handle COMDAT sections. SLSHardeing adds
new section for each __llvm_slsblr_thunk_xN. This new option allows
the generation of the thunks into the normal text section to handle these
exceptional cases.
,comdat or ,noncomdat can be added to harden-sls to control the codegen.
-mharden-sls=[all|retbr|blr],nocomdat.
Reviewed By: kristof.beyls
Differential Revision: https://reviews.llvm.org/D100546
More information about the All-commits
mailing list