about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-09-09 08:36:50 +0200
committerRalf Jung <post@ralfj.de>2023-09-21 22:20:58 +0200
commitc4ec12f4b701d9be95143f3fa77b1f1af07de18c (patch)
tree79e8dc343b1a469ed677ae06e0952cea76ce57cf /tests/codegen
parente4a361a48a59ead52b302aaa2e1d9d345264935a (diff)
downloadrust-c4ec12f4b701d9be95143f3fa77b1f1af07de18c.tar.gz
rust-c4ec12f4b701d9be95143f3fa77b1f1af07de18c.zip
adjust how closure/generator types and rvalues are printed
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/issues/issue-105386-ub-in-debuginfo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
index f345c96e6f7..54c50f840c5 100644
--- a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
+++ b/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs
@@ -15,8 +15,8 @@ pub fn outer_function(x: S, y: S) -> usize {
 // Check that we do not attempt to load from the spilled arg before it is assigned to
 // when generating debuginfo.
 // CHECK-LABEL: @outer_function
-// CHECK: [[spill:%.*]] = alloca %"[closure@{{.*.rs}}:9:23: 9:25]"
-// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds %"[closure@{{.*.rs}}:9:23: 9:25]", ptr [[spill]]
+// CHECK: [[spill:%.*]] = alloca %"{closure@{{.*.rs}}:9:23: 9:25}"
+// CHECK-NOT: [[ptr_tmp:%.*]] = getelementptr inbounds %"{closure@{{.*.rs}}:9:23: 9:25}", ptr [[spill]]
 // CHECK-NOT: [[load:%.*]] = load ptr, ptr
 // CHECK: call void @llvm.lifetime.start{{.*}}({{.*}}, ptr [[spill]])
 // CHECK: [[inner:%.*]] = getelementptr inbounds %"{{.*}}", ptr [[spill]]