Home | History | Annotate | Download | only in X86
      1 ; RUN: llvm-as -disable-verify %s -o %t.bc
      2 ; ---- Full LTO ---------------------------------------------
      3 ; RUN: llc -filetype=asm -o - %t.bc 2>&1 | FileCheck %s
      4 ; CHECK-NOT: Broken module found
      5 ; CHECK: warning{{.*}} ignoring invalid debug info
      6 ; CHECK-NOT: Broken module found
      7 ; CHECK: foo
      8 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
      9 target triple = "x86_64-apple-macosx10.12"
     10 
     11 declare void @bar()
     12 
     13 define void @foo() {
     14   call void @bar()
     15   ret void
     16 }
     17 
     18 !llvm.module.flags = !{!0}
     19 !llvm.dbg.cu = !{!1}
     20 
     21 !0 = !{i32 2, !"Debug Info Version", i32 3}
     22 !1 = !DIFile(filename: "broken", directory: "")
     23