[llvm] [StackColoring] Add test for stack-coloring and setjmp (PR #199959)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 06:15:25 PDT 2026
================
@@ -0,0 +1,81 @@
+; RUN: llc -mtriple=x86_64-linux -no-stack-coloring=false -debug-only=stack-coloring < %s -o /dev/null 2>&1 | FileCheck %s
+; REQUIRES: asserts
+
+
+declare i32 @setjmp(ptr) returns_twice
+declare void @baz(ptr)
+declare void @llvm.lifetime.start.p0(ptr nocapture)
+declare void @llvm.lifetime.end.p0(ptr nocapture)
+declare dso_local void @stash(ptr noundef, ptr noundef) local_unnamed_addr
----------------
antoniofrighetto wrote:
Please drop dso_local, local_unnamed_addr, etc., here and below.
https://github.com/llvm/llvm-project/pull/199959
More information about the llvm-commits
mailing list