diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/global-sections.ll | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll index ef1b1ac7524..ea6df468ceb 100644 --- a/llvm/test/CodeGen/X86/global-sections.ll +++ b/llvm/test/CodeGen/X86/global-sections.ll @@ -311,3 +311,21 @@ bb7: ; WIN32-SECTIONS: .section .rdata,"dr",one_only,_G16 ; WIN32-SECTIONS: _G16: + +; PR26570 + +@G17 = internal global i8 0 +; LINUX: .type G17,@object +; LINUX: .local G17 +; LINUX: .comm G17,1,1 + +; DARWIN: .zerofill __DATA,__bss,_G17,1,0 + +; LINUX-SECTIONS: .type G17,@object +; LINUX-SECTIONS: .section .bss.G17,"aw",@nobits +; LINUX-SECTIONS: .byte 0 +; LINUX-SECTIONS: .size G17, 1 + +; WIN32-SECTIONS: .section .bss,"bw",one_only,_G17 +; WIN32-SECTIONS: _G17: +; WIN32-SECTIONS:.byte 0 |