[llvm] 85dc3df - [DebugInfo][RemoveDIs] Fix incorrect test expect
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 06:48:15 PST 2024
Author: Stephen Tozer
Date: 2024-02-29T14:46:52Z
New Revision: 85dc3dfb1fa2c6720bdfbaaab012ebd96cbe3a58
URL: https://github.com/llvm/llvm-project/commit/85dc3dfb1fa2c6720bdfbaaab012ebd96cbe3a58
DIFF: https://github.com/llvm/llvm-project/commit/85dc3dfb1fa2c6720bdfbaaab012ebd96cbe3a58.diff
LOG: [DebugInfo][RemoveDIs] Fix incorrect test expect
Fixes: aadd7650447b
The above commit landed with an incorrect test expect, missing a `metadata`
prefix. This patch adds the expected prefix to the test.
Added:
Modified:
llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
index 9417859480e58a..dd9310fe34f341 100644
--- a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
+++ b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
@@ -12,7 +12,7 @@
; CHECK: call void @llvm.dbg.assign(metadata ptr %[[frame]]
; CHECK-SAME: !DIExpression(DW_OP_plus_uconst, [[OffsetX]])
;; FIXME: Should we be updating the addresses on assigns here as well?
-; CHECK-SAME: , metadata ptr %[[frame]], !DIExpression())
+; CHECK-SAME: , metadata ptr %[[frame]], metadata !DIExpression())
; CHECK: call void @llvm.dbg.value(metadata ptr %[[frame]]
; CHECK-SAME: !DIExpression(DW_OP_plus_uconst, [[OffsetSpill:[0-9]*]], DW_OP_deref))
More information about the llvm-commits
mailing list