1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-dis < %s.bc | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder < %s.bc 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; CHECK: define void @foo() !dbg [[SP:![0-9]+]] 5*9880d681SAndroid Build Coastguard Workerdefine void @foo() { 6*9880d681SAndroid Build Coastguard Worker ret void 7*9880d681SAndroid Build Coastguard Worker} 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!0} 10*9880d681SAndroid Build Coastguard Worker!0 = !{i32 2, !"Debug Info Version", i32 3} 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!1} 13*9880d681SAndroid Build Coastguard Worker!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, emissionKind: FullDebug) 14*9880d681SAndroid Build Coastguard Worker!2 = !DIFile(filename: "foo.c", directory: "/path/to/dir") 15*9880d681SAndroid Build Coastguard Worker; CHECK: [[SP]] = distinct !DISubprogram 16*9880d681SAndroid Build Coastguard Worker!3 = distinct !DISubprogram(file: !2, scope: !2, line: 51, name: "foo", function: void ()* @foo, type: !4) 17*9880d681SAndroid Build Coastguard Worker!4 = !DISubroutineType(types: !{}) 18