Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@ -1,24 +0,0 @@
; RUN: opt -S -strip-nonlinetable-debuginfo %s -o - | FileCheck %s
!llvm.dbg.cu = !{!2, !6}
!llvm.gcov = !{!3}
!llvm.module.flags = !{!7}
!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
; The first CU is used for the line table, the second one is a module skeleton
; and should be stripped.
; CHECK: !llvm.dbg.cu = !{![[CU:[0-9]+]]}
; CHECK: ![[CU]] = distinct !DICompileUnit({{.*}}"abc.debug"{{.*}}LineTablesOnly
; CHECK-NOT: retainedTypes:
; CHECK-SAME: )
; CHECK-NOT: DICompositeType
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
isOptimized: true, flags: "-O2", runtimeVersion: 2,
splitDebugFilename: "abc.debug", emissionKind: FullDebug,
retainedTypes: !4)
!3 = !{!"path/to/file.o", !2}
!4 = !{!5}
!5 = !DICompositeType(tag: DW_TAG_structure_type, file: !1, identifier: "ThisWillBeStripped")
!6 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
splitDebugFilename: "abc.dwo", emissionKind: FullDebug,
dwoId: 1234)
!7 = !{i32 1, !"Debug Info Version", i32 3}