llvm.org GIT mirror llvm / release_35@215010 test / CodeGen / PowerPC / sections.ll
release_35@215010

Tree @release_35@215010 (Download .tar.gz)

sections.ll @release_35@215010

fdf229e
fce288f
d644d17
fdf229e
 
 
89e0f38
74bfe21
fdf229e
d644d17
 
 
; Test to make sure that bss sections are printed with '.section' directive.
; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC

@A = global i32 0

; CHECK:  .section  .bss,"aw",@nobits
; CHECK:  .globl A

; PIC:    .section  .got2,"aw",@progbits
; PIC:    .section  .bss,"aw",@nobits
; PIC:    .globl A