summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-09 20:09:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-09 20:09:58 +0000
commit905c6fb424173444e9c0ae88944c0100e6a7fe61 (patch)
treeb3d4c5deddacac3d8958c71170e705f806b4d515 /test
parenta0ce232a65801ad816f7d7d2715aae94d4c63863 (diff)
Don't prime the section map.
This was just creating unused labels for .text when the module had no functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/DebugInfo/X86/multiple-aranges.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/multiple-aranges.ll b/test/DebugInfo/X86/multiple-aranges.ll
index a3f66bb6d34..80970695a55 100644
--- a/test/DebugInfo/X86/multiple-aranges.ll
+++ b/test/DebugInfo/X86/multiple-aranges.ll
@@ -1,7 +1,10 @@
; RUN: llc -generate-arange-section < %s | FileCheck %s
+; CHECK: .Ldebug_end0:
+; CHECK-NEXT: .section .debug_aranges,"",@progbits
+
; First CU
-; CHECK: .long 44 # Length of ARange Set
+; CHECK-NEXT: .long 44 # Length of ARange Set
; CHECK-NEXT: .short 2 # DWARF Arange version number
; CHECK-NEXT: .long .L.debug_info_begin0 # Offset Into Debug Info Section
; CHECK-NEXT: .byte 8 # Address Size (in bytes)