2013-04-17 11:41:36 +08:00
|
|
|
; RUN: llvm-as < %s | opt -verify -S -asm-verbose | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: lang 0x8001
|
2010-03-20 05:06:24 +08:00
|
|
|
|
|
|
|
define void @Foo(i32 %a, i32 %b) {
|
|
|
|
entry:
|
|
|
|
call void @llvm.dbg.declare(metadata !{i32* null}, metadata !1)
|
|
|
|
ret void
|
|
|
|
}
|
2013-04-17 11:41:36 +08:00
|
|
|
!llvm.dbg.cu = !{!2}
|
2013-11-23 05:49:45 +08:00
|
|
|
!llvm.module.flags = !{!5}
|
2013-04-22 14:12:31 +08:00
|
|
|
!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]
|
2013-04-17 11:41:36 +08:00
|
|
|
!3 = metadata !{}
|
2010-03-20 05:06:24 +08:00
|
|
|
!0 = metadata !{i32 662302, i32 26, metadata !1, null}
|
|
|
|
!1 = metadata !{i32 4, metadata !"foo"}
|
2013-04-17 11:41:36 +08:00
|
|
|
!4 = metadata !{metadata !"scratch.cpp", metadata !"/usr/local/google/home/blaikie/dev/scratch"}
|
2010-03-20 05:06:24 +08:00
|
|
|
|
|
|
|
declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone
|
2013-11-23 05:49:45 +08:00
|
|
|
!5 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
|