[clang] [llvm] riscv: Support -mstack-protector-guard=tls (PR #108942)

Keith Packard via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 12:26:25 PDT 2024


================
@@ -0,0 +1,47 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=riscv64-unknown-elf -verify-machineinstrs < %s \
+; RUN:     | FileCheck %s
+
+define void @foo(i64 %t) sspstrong {
----------------
keith-packard wrote:

You were right, it doesn't need nounwind; we're just testing the stack protector code here.

https://github.com/llvm/llvm-project/pull/108942


More information about the llvm-commits mailing list