From e20bf9ab91e44747471ca2c1f76bd4f830e222b4 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 24 Dec 2018 07:35:10 +0000 Subject: DebugInfo: Use assembly label arithmetic for address pool size for easier reading/editing llvm-svn: 350048 --- llvm/test/DebugInfo/X86/addr_comments.ll | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'llvm/test') diff --git a/llvm/test/DebugInfo/X86/addr_comments.ll b/llvm/test/DebugInfo/X86/addr_comments.ll index 780b37915a4..487973d2267 100644 --- a/llvm/test/DebugInfo/X86/addr_comments.ll +++ b/llvm/test/DebugInfo/X86/addr_comments.ll @@ -1,12 +1,14 @@ ; RUN: llc %s -mtriple=i386-unknown-linux-gnu -filetype=asm -o - | FileCheck %s -; CHECK: .section .debug_addr -; CHECK: .long 8 # Length of contribution -; CHECK: .short 5 # DWARF version number -; CHECK: .byte 4 # Address size -; CHECK: .byte 0 # Segment selector size -; CHECK: .Laddr_table_base0: -; CHECK: .long .Lfunc_begin0 +; CHECK: .section .debug_addr +; CHECK-NEXT: .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution +; CHECK-NEXT: .Ldebug_addr_startt 0: +; CHECK-NEXT: .short 5 # DWARF version number +; CHECK-NEXT: .byte 4 # Address size +; CHECK-NEXT: .byte 0 # Segment selector size +; CHECK-NEXT: .Laddr_table_base0: +; CHECK-NEXT: .long .Lfunc_begin0 +; CHECK-NEXT: .Ldebug_addr_end0: ; Function Attrs: noinline nounwind optnone uwtable define dso_local void @foo() #0 !dbg !7 { -- cgit v1.2.3