summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/global-sections.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
-rw-r--r--llvm/test/CodeGen/X86/global-sections.ll15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll
index 405adca6cd8..b6caa4f27f7 100644
--- a/llvm/test/CodeGen/X86/global-sections.ll
+++ b/llvm/test/CodeGen/X86/global-sections.ll
@@ -119,4 +119,19 @@
; LINUX:G9
+@G10 = weak global [100 x i32] zeroinitializer, align 32 ; <[100 x i32]*> [#uses=0]
+
+
+; DARWIN: .section __DATA,__datacoal_nt,coalesced
+; DARWIN: .globl _G10
+; DARWIN: .weak_definition _G10
+; DARWIN: .align 5
+; DARWIN: _G10:
+; DARWIN: .space 400
+
+; LINUX: .bss
+; LINUX: .weak G10
+; LINUX: .align 32
+; LINUX: G10:
+; LINUX: .zero 400
OpenPOWER on IntegriCloud