[clang] [llvm] riscv: Support -mstack-protector-guard=tls (PR #108942)
Keith Packard via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 22 17:48:57 PDT 2024
================
@@ -3681,6 +3698,11 @@ static void RenderSSPOptions(const Driver &D, const ToolChain &TC,
D.Diag(diag::err_drv_invalid_value) << A->getOption().getName() << Value;
return;
}
+ if (EffectiveTriple.isRISCV() && Value != "tp") {
+ D.Diag(diag::err_drv_invalid_value_with_suggestion)
----------------
keith-packard wrote:
Thanks, I missed that one. Added.
https://github.com/llvm/llvm-project/pull/108942
More information about the cfe-commits
mailing list