summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-09 18:29:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-09 18:29:12 +0000
commita60017902c35a802d382a5ce4803f25f1aba4cd5 (patch)
tree343ab36529a80091ea4b87d73bd9625fc15b7ad6 /llvm/test
parentef142e407a7b014df0193c869e65532aa627aff6 (diff)
downloadbcm5719-llvm-a60017902c35a802d382a5ce4803f25f1aba4cd5.tar.gz
bcm5719-llvm-a60017902c35a802d382a5ce4803f25f1aba4cd5.zip
Print jump tables before exception tables.
In the case where just tables are part of the function section, this produces more readable assembly by avoiding switching to the eh section and back to .text. This would also break with non unique section names, as trying to switch to a unique section actually creates a new one. llvm-svn: 231677
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/global-sections.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll
index 54c4b1a6f53..cd42f99b771 100644
--- a/llvm/test/CodeGen/X86/global-sections.ll
+++ b/llvm/test/CodeGen/X86/global-sections.ll
@@ -86,11 +86,13 @@ bb7:
; DARWIN64: _F3:
; DARWIN64: Lfunc_end
; DARWIN64-NEXT: .cfi_endproc
-; DARWIN64-NEXT: .section __TEXT,__gcc_except_tab
-; DARWIN64-NOT: .section
-; DARWIN64: .section __TEXT,__text,regular,pure_instructions
; DARWIN64-NOT: .section
; DARWIN64: LJTI{{.*}}:
+; DARWIN64-NEXT: .long
+; DARWIN64-NEXT: .long
+; DARWIN64-NEXT: .long
+; DARWIN64-NEXT: .long
+; DARWIN64-NEXT: .section __TEXT,__gcc_except_tab
; int G1;
@G1 = common global i32 0
OpenPOWER on IntegriCloud