26 lines · plain
1; RUN: llc < %s -filetype=obj -o %t.o2; RUN: llvm-objdump --section-headers %t.o | FileCheck %s3 4; Don't emit debug info in this scenario and don't crash.5 6; CHECK-NOT: .debug$S7; CHECK: .text8; CHECK-NOT: .debug$S9 10; ModuleID = 't.cpp'11source_filename = "t.cpp"12target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"13target triple = "x86_64-pc-windows-msvc19.10.24728"14 15define void @f() {16entry:17 ret void18}19 20!llvm.module.flags = !{!0, !1}21!llvm.ident = !{!2}22 23!0 = !{i32 2, !"CodeView", i32 1}24!1 = !{i32 1, !"PIC Level", i32 2}25!2 = !{!"clang version 5.0.0 "}26