; RUN: llvm-as -disable-verify %s -o %t.bc
; ---- Full LTO ---------------------------------------------
; RUN: llc -filetype=asm -o - %t.bc 2>&1 | FileCheck %s
; CHECK-NOT: Broken module found
; CHECK: warning{{.*}} ignoring invalid debug info
; CHECK-NOT: Broken module found
; CHECK: foo
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.12"

declare void @bar()

define void @foo() {
  call void @bar()
  ret void
}

!llvm.module.flags = !{!0}
!llvm.dbg.cu = !{!1}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !DIFile(filename: "broken", directory: "")

Add an llc testcase analogous to test/LTO/X86/strip-debug-info.ll
Add an llc testcase analogous to test/LTO/X86/strip-debug-info.ll

rdar://problem/37963669

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@326491 91177308-0d34-0410-b5e6-96231b3b80d8
