[clang] Fix clang/test/DebugInfo/CXX/line.cpp (PR #198401)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 04:51:25 PDT 2026


================
@@ -71,17 +71,17 @@ void f5() {
 struct agg { int i; };
 agg agg_src();
 
-// CHECK-LABEL: define
+// CHECK-LABEL: define {{.*}}void {{.*}}f6
 void f6() {
   agg x;
-  // CHECK: call void @llvm.memcpy{{.*}} !dbg [[DBG_F6:!.*]]
+  // CHECK: call void @llvm.memcpy{{.*}}ref.tmp{{.*}} !dbg [[DBG_F6:!.*]]
----------------
Ariel-Burton wrote:

Yes.  On z/OS there are two calls to @llvm.memory,  This pattern ties it down.

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


More information about the cfe-commits mailing list