[clang] [llvm] riscv: Support -mstack-protector-guard=tls (PR #108942)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 19 09:10:13 PDT 2024
================
@@ -3664,12 +3680,18 @@ static void RenderSSPOptions(const Driver &D, const ToolChain &TC,
<< A->getOption().getName() << Value;
return;
}
+ if (EffectiveTriple.isRISCV() && (Offset <= -2048 || Offset >= 2048)) {
----------------
topperc wrote:
Ok. If the backend supports any value, we can drop this.
https://github.com/llvm/llvm-project/pull/108942
More information about the cfe-commits
mailing list