summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:35:10 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-24 07:35:10 +0000
commite20bf9ab91e44747471ca2c1f76bd4f830e222b4 (patch)
tree2b51ebea4ea716d1b8bdeed5bacc1b7d99dbc8a1 /llvm/test
parentd671eb7e7c7796c679f71bc117b0561b57d246cd (diff)
downloadbcm5719-llvm-e20bf9ab91e44747471ca2c1f76bd4f830e222b4.tar.gz
bcm5719-llvm-e20bf9ab91e44747471ca2c1f76bd4f830e222b4.zip
DebugInfo: Use assembly label arithmetic for address pool size for easier reading/editing
llvm-svn: 350048
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/X86/addr_comments.ll16
1 files changed, 9 insertions, 7 deletions
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 {
OpenPOWER on IntegriCloud