[llvm] [RemoveDIs][DebugInfo][IR] Add parsing for non-intrinsic debug values (PR #79818)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 02:50:49 PST 2024


================
@@ -0,0 +1,55 @@
+; RUN: llvm-as -disable-output <%s 2>&1 | FileCheck %s
+define void @foo() {
+entry:
+    #dbg_value(
+      ptr undef,
+      !DILocalVariable(scope: !1),
+      !DIExpression(),
+      !{})
+; CHECK-LABEL: invalid #dbg record location
----------------
SLTozer wrote:

The location overload strikes again... I'll update the verifier check to state more clearly that it's a DILocation.

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


More information about the llvm-commits mailing list