[llvm] [RemoveDIs][DebugInfo][IR] Add parsing for non-intrinsic debug values (PR #79818)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 01:46:32 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
----------------
OCHyams wrote:
what's invalid about the "location" and which of the 3 locations (position, src-loc, var-loc) is this referring to?
https://github.com/llvm/llvm-project/pull/79818
More information about the llvm-commits
mailing list