1 ; RUN: llc < %s -filetype=obj -o %t.o 2 ; RUN: llvm-objdump -section-headers %t.o | FileCheck %s 3 4 ; Don't emit debug info in this scenario and don't crash. 5 6 ; CHECK-NOT: .debug$S 7 ; CHECK: .text 8 ; CHECK-NOT: .debug$S 9 10 ; ModuleID = 't.cpp' 11 source_filename = "t.cpp" 12 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" 13 target triple = "x86_64-pc-windows-msvc19.10.24728" 14 15 define void @f() { 16 entry: 17 ret void 18 } 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