[clang] [llvm] riscv: Support -mstack-protector-guard=tls (PR #108942)
Keith Packard via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 11:02:34 PDT 2024
================
@@ -21228,6 +21228,14 @@ Value *RISCVTargetLowering::getIRStackGuard(IRBuilderBase &IRB) const {
if (Subtarget.isTargetAndroid())
return useTpOffset(IRB, -0x18);
+ Module *M = IRB.GetInsertBlock()->getParent()->getParent();
----------------
keith-packard wrote:
Thanks, will review.
https://github.com/llvm/llvm-project/pull/108942
More information about the cfe-commits
mailing list