~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/attribute-sections.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX
 
2
 
 
3
declare i32 @foo()
 
4
@G0 = global i32 ()* @foo, section ".init_array"
 
5
 
 
6
; LINUX:  .section  .init_array,"aw"
 
7
; LINUX:  .globl G0
 
8
 
 
9
@G1 = global i32 ()* @foo, section ".fini_array"
 
10
 
 
11
; LINUX:  .section  .fini_array,"aw"
 
12
; LINUX:  .globl G1
 
13
 
 
14
@G2 = global i32 ()* @foo, section ".preinit_array"
 
15
 
 
16
; LINUX:  .section .preinit_array,"aw"
 
17
; LINUX:  .globl G2
 
18