[clang] [llvm] riscv: Support -mstack-protector-guard=tls (PR #108942)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 14:02:38 PDT 2024
================
@@ -3644,13 +3645,28 @@ static void RenderSSPOptions(const Driver &D, const ToolChain &TC,
<< A->getOption().getName() << Value << "sysreg global";
return;
}
+ if (EffectiveTriple.isRISCV()) {
+ if (Value != "tls" && Value != "global") {
----------------
topperc wrote:
Can this be combine with the same check for X86/ARM/Thumb on line 3611?
https://github.com/llvm/llvm-project/pull/108942
More information about the cfe-commits
mailing list