You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
14
external/llvm/test/Bitcode/DISubprogram-distinct-definitions.ll
vendored
Normal file
14
external/llvm/test/Bitcode/DISubprogram-distinct-definitions.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: llvm-dis < %s.bc | FileCheck %s
|
||||
; Check that subprogram definitions are correctly upgraded to 'distinct'.
|
||||
; Bitcode compiled with llvm-as version 3.7.
|
||||
|
||||
define void @f() !dbg !3 { ret void }
|
||||
|
||||
!llvm.module.flags = !{!4}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!0 = distinct !DICompileUnit(language: 12, file: !1, subprograms: !{!3})
|
||||
!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
|
||||
|
||||
; CHECK: = distinct !DISubprogram({{.*}}, isDefinition: true
|
||||
!3 = !DISubprogram(name: "foo", isDefinition: true)
|
||||
!4 = !{i32 2, !"Debug Info Version", i32 3}
|
Reference in New Issue
Block a user