brintos

brintos / llvm-project-archived public Read only

0
0
Text · 611 B · 80aec58 Raw
23 lines · plain
1; RUN: llvm-as -disable-verify %s -o %t.bc2; ---- Full LTO ---------------------------------------------3; RUN: llc -filetype=asm -o - %t.bc 2>&1 | FileCheck %s4; CHECK-NOT: Broken module found5; CHECK: warning{{.*}} ignoring invalid debug info6; CHECK-NOT: Broken module found7; CHECK: foo8target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"9target triple = "x86_64-apple-macosx10.12"10 11declare void @bar()12 13define void @foo() {14  call void @bar()15  ret void16}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