Add @llvm.clear_cache builtin
[oota-llvm.git] / test / CodeGen / ARM / darwin-section-order.ll
1 ; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s
2
3 ; CHECK: .section       __TEXT,__text,regular,pure_instructions
4 ; CHECK: .section       __TEXT,myprecious
5 ; CHECK: .section       __TEXT,__textcoal_nt,coalesced,pure_instructions
6 ; CHECK: .section       __TEXT,__const_coal,coalesced
7 ; CHECK: .section       __TEXT,__picsymbolstub4,symbol_stubs,none,16
8 ; CHECK: .section       __TEXT,__StaticInit,regular,pure_instructions
9
10
11 define void @normal() nounwind readnone {
12 ; CHECK: .section       __TEXT,__text,regular,pure_instructions
13 ; CHECK: _normal:
14   ret void
15 }
16
17 define void @special() nounwind readnone section "__TEXT,myprecious" {
18 ; CHECK: .section       __TEXT,myprecious
19 ; CHECK: _special:
20   ret void
21 }