summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/stringpool.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-09-20 23:22:52 +0000
committerEric Christopher <echristo@gmail.com>2013-09-20 23:22:52 +0000
commit9cd26af8b6e316525347fe9cca648ef1ee60787e (patch)
treeb47756fbc50b94749c2bddc694f4634f08f008c9 /llvm/test/DebugInfo/X86/stringpool.ll
parent6e35094bbfbd01ded191006c8fe4da9af6ffd855 (diff)
downloadbcm5719-llvm-9cd26af8b6e316525347fe9cca648ef1ee60787e.tar.gz
bcm5719-llvm-9cd26af8b6e316525347fe9cca648ef1ee60787e.zip
Move emission of the debug string table to early in the debug
info finalization to greatly reduce the number of fixups that the assembler has to handle in order to improve compile time. llvm-svn: 191119
Diffstat (limited to 'llvm/test/DebugInfo/X86/stringpool.ll')
-rw-r--r--llvm/test/DebugInfo/X86/stringpool.ll14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/test/DebugInfo/X86/stringpool.ll b/llvm/test/DebugInfo/X86/stringpool.ll
index 45c2b2a2a3d..40b5977eedd 100644
--- a/llvm/test/DebugInfo/X86/stringpool.ll
+++ b/llvm/test/DebugInfo/X86/stringpool.ll
@@ -16,6 +16,12 @@
!7 = metadata !{i32 720932, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]
!8 = metadata !{metadata !"z.c", metadata !"/home/nicholas"}
+; Verify that "yyyy" ended up in the stringpool.
+; LINUX: .section .debug_str,"MS",@progbits,1
+; LINUX: yyyy
+; DARWIN: .section __DWARF,__debug_str,regular,debug
+; DARWIN: yyyy
+
; Verify that we refer to 'yyyy' with a relocation.
; LINUX: .long .Linfo_string3 # DW_AT_name
; LINUX-NEXT: .long 38 # DW_AT_type
@@ -36,11 +42,3 @@
; DARWIN-NEXT: .byte 9 ## DW_AT_location
; DARWIN-NEXT: .byte 3
; DARWIN-NEXT: .quad _yyyy
-
-; Verify that "yyyy" ended up in the stringpool.
-; LINUX: .section .debug_str,"MS",@progbits,1
-; LINUX-NOT: .section
-; LINUX: yyyy
-; DARWIN: .section __DWARF,__debug_str,regular,debug
-; DARWIN-NOT: .section
-; DARWIN: yyyy
OpenPOWER on IntegriCloud