[llvm] [Coroutines] Fix debug info scoping for nested structs in coroutine frames (PR #147622)

Adrian Vogelsgesang via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 19:10:54 PDT 2025


================
@@ -0,0 +1,50 @@
+; RUN: opt < %s -passes='cgscc(coro-split)' -S | FileCheck %s
+
+; Test that nested structs in coroutine frames have correct debug info scoping.
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
----------------
vogelsgesang wrote:

afaict, this test is target indedenpent? do we really need to set datalayout and triple here?

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


More information about the llvm-commits mailing list