summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/formal_parameter.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/X86/formal_parameter.ll')
-rw-r--r--llvm/test/DebugInfo/X86/formal_parameter.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/formal_parameter.ll b/llvm/test/DebugInfo/X86/formal_parameter.ll
index e3d3c73e0f5..cb3e197dd1d 100644
--- a/llvm/test/DebugInfo/X86/formal_parameter.ll
+++ b/llvm/test/DebugInfo/X86/formal_parameter.ll
@@ -41,6 +41,9 @@ entry:
ret void, !dbg !22
}
+; LOWERING: ![[SCOPE:[0-9]+]] = distinct !DISubprogram(name: "foo",
+; LOWERING: ![[LOC]] = !DILocation(line: 0, scope: ![[SCOPE]]
+
; Function Attrs: nounwind readnone
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
OpenPOWER on IntegriCloud