1 ; RUN: llvm-as < %s | opt -verify -S -asm-verbose | FileCheck %s 2 3 ; CHECK: lang 0x8001 4 5 define void @Foo(i32 %a, i32 %b) { 6 entry: 7 call void @llvm.dbg.declare(metadata !{i32* null}, metadata !1) 8 ret void 9 } 10 !llvm.dbg.cu = !{!2} 11 !2 = metadata !{i32 786449, metadata !4, i32 32769, metadata !"clang version 3.3 ", i1 false, metadata !"", i32 0, metadata !3, metadata !3, metadata !3, metadata !3, metadata !3, metadata !""} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/blaikie/dev/scratch/scratch.cpp] [lang 0x8001] 12 !3 = metadata !{} 13 !0 = metadata !{i32 662302, i32 26, metadata !1, null} 14 !1 = metadata !{i32 4, metadata !"foo"} 15 !4 = metadata !{metadata !"scratch.cpp", metadata !"/usr/local/google/home/blaikie/dev/scratch"} 16 17 declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone 18