# RUN: llc -verify-machineinstrs -start-after=virtregrewriter -filetype=obj -o - %s | llvm-dwarfdump -a - | FileCheck %s # # This testcase has an implicit def pseudo-instruction with a debug location. # # CHECK: .debug_info contents: # CHECK: DW_TAG_subprogram # CHECK: DW_AT_low_pc (0x0000000000000000) # CHECK-NOT: DW_TAG # CHECK: DW_AT_specification {{.*}} "_ZN1C5m_fn3Ev" # CHECK-NOT: DW_TAG # Here should not be an inlined subroutine with 0 length. # CHECK: NULL # # CHECK: Address Line Column File ISA Discriminator Flags # CHECK-NEXT: --- # CHECK-NEXT: 25 0 1 0 0 is_stmt # CHECK-NEXT: 29 28 1 0 0 is_stmt prologue_end # CHECK-NEXT: 29 28 1 0 0 is_stmt end_sequence --- | source_filename = "t.ll" target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx" %class.E = type { %class.D } %class.D = type { %class.B } %class.B = type { %class.A, %class.A } %class.A = type { i8 } %class.C = type <{ %class.E*, %class.B, [2 x i8] }> @a = local_unnamed_addr global %class.E* null, align 4 define i32 @_ZN1C5m_fn3Ev(%class.C* nocapture) local_unnamed_addr align 2 !dbg !6 { %2 = alloca %class.B, align 1 %3 = load %class.E*, %class.E** @a, align 4 %4 = icmp eq %class.E* %3, null br i1 %4, label %10, label %5 ;