comparison test/CodeGen/PowerPC/sections.ll @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 54457678186b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
78:af83660cff7b 83:60c9769439b8
1 ; Test to make sure that bss sections are printed with '.section' directive. 1 ; Test to make sure that bss sections are printed with '.section' directive.
2 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s 2 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
3 ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC
4 3
5 @A = global i32 0 4 @A = global i32 0
6 5
7 ; CHECK: .section .bss,"aw",@nobits 6 ; CHECK: .section .bss,"aw",@nobits
8 ; CHECK: .globl A 7 ; CHECK: .globl A
9
10 ; PIC: .section .got2,"aw",@progbits
11 ; PIC: .section .bss,"aw",@nobits
12 ; PIC: .globl A